@absolutejs/absolute 0.19.0-beta.302 → 0.19.0-beta.304
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/build.js +9 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +9 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -205610,10 +205610,13 @@ ${code}`;
|
|
|
205610
205610
|
dev: true,
|
|
205611
205611
|
filename: filePath
|
|
205612
205612
|
}).js.code;
|
|
205613
|
-
}, compileSvelteComponent = (raw, filePath, projectRoot) => {
|
|
205613
|
+
}, compileSvelteComponent = (raw, filePath, projectRoot, enableAsync = false) => {
|
|
205614
205614
|
const compiled = svelteCompiler.compile(raw, {
|
|
205615
205615
|
css: "external",
|
|
205616
205616
|
dev: true,
|
|
205617
|
+
experimental: {
|
|
205618
|
+
async: enableAsync
|
|
205619
|
+
},
|
|
205617
205620
|
filename: filePath,
|
|
205618
205621
|
generate: "client",
|
|
205619
205622
|
hmr: true
|
|
@@ -205637,7 +205640,9 @@ ${code}`;
|
|
|
205637
205640
|
svelteCompiler = await import("svelte/compiler");
|
|
205638
205641
|
}
|
|
205639
205642
|
const isModule = filePath.endsWith(".svelte.ts") || filePath.endsWith(".svelte.js");
|
|
205640
|
-
const
|
|
205643
|
+
const loweredSource = isModule ? { code: raw, transformed: false } : lowerSvelteIslandSyntax(raw);
|
|
205644
|
+
const source = loweredSource.code;
|
|
205645
|
+
const code = isModule ? compileSvelteModule(source, filePath) : compileSvelteComponent(source, filePath, projectRoot, loweredSource.transformed);
|
|
205641
205646
|
return rewriteImports2(code, filePath, projectRoot, rewriter, frameworkDirs);
|
|
205642
205647
|
}, compileVueTemplate = (descriptor, compiledScript, filePath, componentId) => {
|
|
205643
205648
|
const scriptContent = compiledScript.content;
|
|
@@ -205959,6 +205964,7 @@ var init_moduleServer = __esm(() => {
|
|
|
205959
205964
|
init_resolvePackageImport();
|
|
205960
205965
|
init_islandBindingCompat();
|
|
205961
205966
|
init_sourceMetadata();
|
|
205967
|
+
init_lowerIslandSyntax();
|
|
205962
205968
|
init_transformCache();
|
|
205963
205969
|
jsTranspiler2 = new Bun.Transpiler({
|
|
205964
205970
|
loader: "js",
|
|
@@ -215472,5 +215478,5 @@ export {
|
|
|
215472
215478
|
ANGULAR_INIT_TIMEOUT_MS
|
|
215473
215479
|
};
|
|
215474
215480
|
|
|
215475
|
-
//# debugId=
|
|
215481
|
+
//# debugId=88C58B0CBEB4B9F164756E2164756E21
|
|
215476
215482
|
//# sourceMappingURL=index.js.map
|