@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/islands/index.js
CHANGED
|
@@ -2289,6 +2289,19 @@ var init_svelteServerModule = __esm(() => {
|
|
|
2289
2289
|
});
|
|
2290
2290
|
});
|
|
2291
2291
|
|
|
2292
|
+
// src/utils/vueCompiler.ts
|
|
2293
|
+
var createVueCompiler = async () => {
|
|
2294
|
+
const [compiler, typescript] = await Promise.all([
|
|
2295
|
+
import("@vue/compiler-sfc"),
|
|
2296
|
+
import("typescript")
|
|
2297
|
+
]);
|
|
2298
|
+
compiler.registerTS?.(() => typescript);
|
|
2299
|
+
return compiler;
|
|
2300
|
+
}, compilerPromise, loadVueCompiler = () => {
|
|
2301
|
+
compilerPromise ??= createVueCompiler();
|
|
2302
|
+
return compilerPromise;
|
|
2303
|
+
};
|
|
2304
|
+
|
|
2292
2305
|
// src/core/vueServerModule.ts
|
|
2293
2306
|
import { existsSync as existsSync4, readFileSync as readFileSync4, realpathSync } from "fs";
|
|
2294
2307
|
import { mkdir as mkdir3 } from "fs/promises";
|
|
@@ -2330,7 +2343,7 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
|
|
|
2330
2343
|
const cachedModulePath = compiledModuleCache3.get(sourcePath);
|
|
2331
2344
|
if (cachedModulePath)
|
|
2332
2345
|
return cachedModulePath;
|
|
2333
|
-
const compiler = await
|
|
2346
|
+
const compiler = await loadVueCompiler();
|
|
2334
2347
|
const source = await Bun.file(sourcePath).text();
|
|
2335
2348
|
const { descriptor } = compiler.parse(source, { filename: sourcePath });
|
|
2336
2349
|
const componentId = Bun.hash(sourcePath).toString(BASE_36_RADIX).slice(0, ISLAND_COMPONENT_ID_LENGTH);
|
|
@@ -2677,5 +2690,5 @@ export {
|
|
|
2677
2690
|
createIslandStore
|
|
2678
2691
|
};
|
|
2679
2692
|
|
|
2680
|
-
//# debugId=
|
|
2693
|
+
//# debugId=32E3EE6CF8F6516664756E2164756E21
|
|
2681
2694
|
//# sourceMappingURL=index.js.map
|