There was an error while loading. Please reload this page.
1 parent 2119fd6 commit bca47ebCopy full SHA for bca47eb
1 file changed
packages/angular/build/src/tools/esbuild/stylesheets/sass-language.ts
@@ -146,8 +146,9 @@ async function compileString(
146
147
// Caching package root locations is particularly beneficial for `@material/*` packages
148
// which extensively use deep imports.
149
+ const packageRootKey = `${options.containingUrl?.href ?? ''}:${packageName}`;
150
const packageRoot = await currentPackageRootCache.getOrCreate(
- packageName,
151
+ packageRootKey,
152
async () => {
153
// Use the required presence of a package root `package.json` file to resolve the location
154
const packageResult = await resolveUrl(packageName + '/package.json', options);
0 commit comments