@absolutejs/absolute 0.19.0-beta.941 → 0.19.0-beta.943

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,10 @@ export type ComponentFingerprint = {
22
22
  animationsArraySig: string;
23
23
  providersArraySig: string;
24
24
  viewProvidersArraySig: string;
25
+ decoratorInputsArraySig: string;
26
+ decoratorOutputsArraySig: string;
27
+ hostBindingsSig: string;
28
+ pageExportsSig: string;
25
29
  };
26
30
  export type FastHmrSuccess = {
27
31
  ok: true;
@@ -663,6 +663,15 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
663
663
  url: new URL(`file://${filePath}`)
664
664
  });
665
665
  const css = await runPostcss(result.css, filePath, config);
666
+ const loadedUrls = result.loadedUrls ?? [];
667
+ for (const url of loadedUrls) {
668
+ if (url.protocol !== "file:")
669
+ continue;
670
+ const dep = fileURLToPath(url);
671
+ if (resolve2(dep) === resolve2(filePath))
672
+ continue;
673
+ deps.add(dep);
674
+ }
666
675
  recordStyleDeps(filePath, deps);
667
676
  return css;
668
677
  } catch (error) {
@@ -831,7 +840,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
831
840
  }
832
841
  const contents = withAdditionalData(rawContents, options.additionalData);
833
842
  const loadPaths = normalizeLoadPaths(filePath, options.loadPaths);
834
- const compiled = sass.compileString(contents, {
843
+ const result = sass.compileString(contents, {
835
844
  importers: [
836
845
  createSassImporter(filePath, loadPaths, language, config)
837
846
  ],
@@ -839,8 +848,17 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
839
848
  style: "expanded",
840
849
  syntax: language === "sass" ? "indented" : "scss",
841
850
  url: new URL(`file://${filePath}`)
842
- }).css;
843
- return resolveCssImportsSync(compiled, dirname(filePath), new Set([filePath]));
851
+ });
852
+ const loadedUrls = result.loadedUrls ?? [];
853
+ for (const url of loadedUrls) {
854
+ if (url.protocol !== "file:")
855
+ continue;
856
+ const dep = fileURLToPath(url);
857
+ if (resolve2(dep) === resolve2(filePath))
858
+ continue;
859
+ addStyleImporter(filePath, dep);
860
+ }
861
+ return resolveCssImportsSync(result.css, dirname(filePath), new Set([filePath]));
844
862
  }
845
863
  if (language === "less") {
846
864
  throw new Error(`Unable to compile ${filePath}: Less styleUrl preprocessing is async-only. Import the Less file from a bundled entrypoint or use SCSS/CSS for Angular styleUrl.`);
@@ -3985,5 +4003,5 @@ export {
3985
4003
  createTypedIsland
3986
4004
  };
3987
4005
 
3988
- //# debugId=CB4490FD3D9DB75864756E2164756E21
4006
+ //# debugId=0E1F2D4CECD15FBB64756E2164756E21
3989
4007
  //# sourceMappingURL=index.js.map