@absolutejs/absolute 0.20.0-beta.125 → 0.20.0-beta.127
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/CHANGELOG.md +16 -0
- package/README.md +19 -0
- package/changelog.json +27 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js +35 -29
- package/dist/angular/index.js.map +5 -4
- package/dist/angular/server.js +35 -29
- package/dist/angular/server.js.map +5 -4
- package/dist/build/buildWorker.js +9 -3
- package/dist/build.js +210 -201
- package/dist/build.js.map +8 -7
- package/dist/cli/{compile-hywymh6y.js → compile-0epdbdcx.js} +2 -2
- package/dist/cli/{index-9q8yn5ax.js → index-54q7pxcx.js} +1 -0
- package/dist/cli/{index-q3sq287p.js → index-79ppyst7.js} +2 -2
- package/dist/cli/{index-k8r00xh9.js → index-q4gpm386.js} +22 -2
- package/dist/cli/index.js +4 -4
- package/dist/cli/{mobile-6kdsrhxy.js → mobile-49hyrgrj.js} +2 -2
- package/dist/cli/{prerender-vvrj9vjg.js → prerender-yex2zwj3.js} +1 -1
- package/dist/cli/{start-q08avhxg.js → start-m0p0qbep.js} +2 -2
- package/dist/index.js +229 -217
- package/dist/index.js.map +11 -9
- package/dist/islands/index.js +10 -4
- package/dist/islands/index.js.map +5 -4
- package/dist/mobile/remoteMacAgentEntry.js +1 -1
- package/dist/react/index.js +10 -4
- package/dist/react/index.js.map +5 -4
- package/dist/src/cli/serverBundleExternals.d.ts +2 -1
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/isFile.d.ts +4 -0
- package/dist/src/utils/isPrerendering.d.ts +5 -0
- package/dist/svelte/index.js +10 -4
- package/dist/svelte/index.js.map +5 -4
- package/dist/vue/index.js +10 -4
- package/dist/vue/index.js.map +5 -4
- package/package.json +2 -2
package/dist/vue/index.js
CHANGED
|
@@ -4560,6 +4560,11 @@ var init_svelteServerModule = __esm(() => {
|
|
|
4560
4560
|
});
|
|
4561
4561
|
});
|
|
4562
4562
|
|
|
4563
|
+
// src/utils/isFile.ts
|
|
4564
|
+
import { statSync } from "fs";
|
|
4565
|
+
var isFile = (path) => statSync(path, { throwIfNoEntry: false })?.isFile() ?? false;
|
|
4566
|
+
var init_isFile = () => {};
|
|
4567
|
+
|
|
4563
4568
|
// src/utils/vueCompiler.ts
|
|
4564
4569
|
var exports_vueCompiler = {};
|
|
4565
4570
|
__export(exports_vueCompiler, {
|
|
@@ -4578,7 +4583,7 @@ var createVueCompiler = async () => {
|
|
|
4578
4583
|
};
|
|
4579
4584
|
|
|
4580
4585
|
// src/core/vueServerModule.ts
|
|
4581
|
-
import {
|
|
4586
|
+
import { readFileSync as readFileSync6, realpathSync } from "fs";
|
|
4582
4587
|
import { mkdir as mkdir3 } from "fs/promises";
|
|
4583
4588
|
import { dirname as dirname7, join as join9, relative as relative4, resolve as resolve7 } from "path";
|
|
4584
4589
|
var {Transpiler } = globalThis.Bun;
|
|
@@ -4625,9 +4630,9 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
|
|
|
4625
4630
|
const hasScript = descriptor.script || descriptor.scriptSetup;
|
|
4626
4631
|
const compiledScript = hasScript ? compiler.compileScript(descriptor, {
|
|
4627
4632
|
fs: {
|
|
4628
|
-
fileExists:
|
|
4633
|
+
fileExists: isFile,
|
|
4629
4634
|
realpath: realpathSync,
|
|
4630
|
-
readFile: (file) =>
|
|
4635
|
+
readFile: (file) => isFile(file) ? readFileSync6(file, "utf-8") : undefined
|
|
4631
4636
|
},
|
|
4632
4637
|
id: componentId,
|
|
4633
4638
|
inlineTemplate: false
|
|
@@ -4672,6 +4677,7 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
|
|
|
4672
4677
|
};
|
|
4673
4678
|
var init_vueServerModule = __esm(() => {
|
|
4674
4679
|
init_constants();
|
|
4680
|
+
init_isFile();
|
|
4675
4681
|
serverCacheRoot3 = join9(process.cwd(), ".absolutejs", "islands", "vue");
|
|
4676
4682
|
compiledModuleCache3 = new Map;
|
|
4677
4683
|
transpiler2 = new Transpiler({ loader: "ts", target: "browser" });
|
|
@@ -6802,5 +6808,5 @@ export {
|
|
|
6802
6808
|
useResource
|
|
6803
6809
|
};
|
|
6804
6810
|
|
|
6805
|
-
//# debugId=
|
|
6811
|
+
//# debugId=ABE842B5D181BFBA64756E2164756E21
|
|
6806
6812
|
//# sourceMappingURL=index.js.map
|