@absolutejs/absolute 0.19.0-beta.1111 → 0.19.0-beta.1113
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js +15 -2
- package/dist/angular/index.js.map +5 -4
- package/dist/angular/server.js +15 -2
- package/dist/angular/server.js.map +5 -4
- package/dist/build.js +19 -647
- package/dist/build.js.map +7 -7
- package/dist/cli/index.js +7 -1
- package/dist/index.js +19 -647
- package/dist/index.js.map +7 -7
- package/dist/islands/index.js +15 -2
- package/dist/islands/index.js.map +5 -4
- package/dist/react/index.js +15 -2
- package/dist/react/index.js.map +5 -4
- package/dist/src/cli/scripts/workspace.d.ts +2 -1
- package/dist/src/utils/vueCompiler.d.ts +1 -0
- package/dist/svelte/index.js +15 -2
- package/dist/svelte/index.js.map +5 -4
- package/dist/vue/index.js +15 -2
- package/dist/vue/index.js.map +5 -4
- package/package.json +1 -1
- package/dist/tailwindcss-oxide.linux-x64-gnu-vcb5zrt4.node +0 -0
- package/dist/tailwindcss-oxide.linux-x64-musl-vr6z8t87.node +0 -0
package/dist/react/index.js
CHANGED
|
@@ -3681,6 +3681,19 @@ var init_svelteServerModule = __esm(() => {
|
|
|
3681
3681
|
});
|
|
3682
3682
|
});
|
|
3683
3683
|
|
|
3684
|
+
// src/utils/vueCompiler.ts
|
|
3685
|
+
var createVueCompiler = async () => {
|
|
3686
|
+
const [compiler, typescript] = await Promise.all([
|
|
3687
|
+
import("@vue/compiler-sfc"),
|
|
3688
|
+
import("typescript")
|
|
3689
|
+
]);
|
|
3690
|
+
compiler.registerTS?.(() => typescript);
|
|
3691
|
+
return compiler;
|
|
3692
|
+
}, compilerPromise, loadVueCompiler = () => {
|
|
3693
|
+
compilerPromise ??= createVueCompiler();
|
|
3694
|
+
return compilerPromise;
|
|
3695
|
+
};
|
|
3696
|
+
|
|
3684
3697
|
// src/core/vueServerModule.ts
|
|
3685
3698
|
import { existsSync as existsSync4, readFileSync as readFileSync4, realpathSync } from "fs";
|
|
3686
3699
|
import { mkdir as mkdir3 } from "fs/promises";
|
|
@@ -3722,7 +3735,7 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
|
|
|
3722
3735
|
const cachedModulePath = compiledModuleCache3.get(sourcePath);
|
|
3723
3736
|
if (cachedModulePath)
|
|
3724
3737
|
return cachedModulePath;
|
|
3725
|
-
const compiler = await
|
|
3738
|
+
const compiler = await loadVueCompiler();
|
|
3726
3739
|
const source = await Bun.file(sourcePath).text();
|
|
3727
3740
|
const { descriptor } = compiler.parse(source, { filename: sourcePath });
|
|
3728
3741
|
const componentId = Bun.hash(sourcePath).toString(BASE_36_RADIX).slice(0, ISLAND_COMPONENT_ID_LENGTH);
|
|
@@ -4612,5 +4625,5 @@ export {
|
|
|
4612
4625
|
Island
|
|
4613
4626
|
};
|
|
4614
4627
|
|
|
4615
|
-
//# debugId=
|
|
4628
|
+
//# debugId=5F761E677419C86F64756E2164756E21
|
|
4616
4629
|
//# sourceMappingURL=index.js.map
|