@absolutejs/absolute 0.19.0-beta.996 → 0.19.0-beta.998

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.
package/dist/vue/index.js CHANGED
@@ -2849,6 +2849,7 @@ var init_svelteServerModule = __esm(() => {
2849
2849
  });
2850
2850
 
2851
2851
  // src/core/vueServerModule.ts
2852
+ import { existsSync as existsSync7, readFileSync as readFileSync6, realpathSync } from "fs";
2852
2853
  import { mkdir as mkdir2 } from "fs/promises";
2853
2854
  import { dirname as dirname5, join as join7, relative as relative3, resolve as resolve6 } from "path";
2854
2855
  var {Transpiler } = globalThis.Bun;
@@ -2894,6 +2895,11 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot2, compiledModuleCache2, tran
2894
2895
  const componentId = Bun.hash(sourcePath).toString(BASE_36_RADIX).slice(0, ISLAND_COMPONENT_ID_LENGTH);
2895
2896
  const hasScript = descriptor.script || descriptor.scriptSetup;
2896
2897
  const compiledScript = hasScript ? compiler.compileScript(descriptor, {
2898
+ fs: {
2899
+ fileExists: existsSync7,
2900
+ readFile: (file) => existsSync7(file) ? readFileSync6(file, "utf-8") : undefined,
2901
+ realpath: realpathSync
2902
+ },
2897
2903
  id: componentId,
2898
2904
  inlineTemplate: false
2899
2905
  }) : { bindings: {}, content: "export default {};" };
@@ -4788,5 +4794,5 @@ export {
4788
4794
  Image
4789
4795
  };
4790
4796
 
4791
- //# debugId=7C428C2F2EAAB5D464756E2164756E21
4797
+ //# debugId=2928A14B2A25AA1264756E2164756E21
4792
4798
  //# sourceMappingURL=index.js.map