We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11124f9 commit 5c04ceaCopy full SHA for 5c04cea
packages/app/src/sandbox/eval/transpilers/postcss/loader.ts
@@ -45,7 +45,13 @@ export default async function (
45
postcssImportPlugin({
46
resolve: async (id: string, root: string) => {
47
try {
48
- const result = await resolveCSSFile(loaderContext, id, root);
+ // Angular specific, remove the ~ from the path to determine if it's a dependency
49
+ const sanitizedPath = id.replace(/^~/, '');
50
+ const result = await resolveCSSFile(
51
+ loaderContext,
52
+ sanitizedPath,
53
+ root
54
+ );
55
56
return result.module.path;
57
} catch (e) {
0 commit comments