@absolutejs/absolute 0.19.0-beta.303 → 0.19.0-beta.305

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/index.js CHANGED
@@ -202765,6 +202765,7 @@ var init_buildSvelteVendor = __esm(() => {
202765
202765
  svelteSpecifiers = [
202766
202766
  "svelte",
202767
202767
  "svelte/internal",
202768
+ "svelte/internal/flags/async",
202768
202769
  "svelte/internal/client",
202769
202770
  "svelte/internal/disclose-version",
202770
202771
  "svelte/store"
@@ -205610,10 +205611,13 @@ ${code}`;
205610
205611
  dev: true,
205611
205612
  filename: filePath
205612
205613
  }).js.code;
205613
- }, compileSvelteComponent = (raw, filePath, projectRoot) => {
205614
+ }, compileSvelteComponent = (raw, filePath, projectRoot, enableAsync = false) => {
205614
205615
  const compiled = svelteCompiler.compile(raw, {
205615
205616
  css: "external",
205616
205617
  dev: true,
205618
+ experimental: {
205619
+ async: enableAsync
205620
+ },
205617
205621
  filename: filePath,
205618
205622
  generate: "client",
205619
205623
  hmr: true
@@ -205637,8 +205641,9 @@ ${code}`;
205637
205641
  svelteCompiler = await import("svelte/compiler");
205638
205642
  }
205639
205643
  const isModule = filePath.endsWith(".svelte.ts") || filePath.endsWith(".svelte.js");
205640
- const source = isModule ? raw : lowerSvelteIslandSyntax(raw).code;
205641
- const code = isModule ? compileSvelteModule(source, filePath) : compileSvelteComponent(source, filePath, projectRoot);
205644
+ const loweredSource = isModule ? { code: raw, transformed: false } : lowerSvelteIslandSyntax(raw);
205645
+ const source = loweredSource.code;
205646
+ const code = isModule ? compileSvelteModule(source, filePath) : compileSvelteComponent(source, filePath, projectRoot, loweredSource.transformed);
205642
205647
  return rewriteImports2(code, filePath, projectRoot, rewriter, frameworkDirs);
205643
205648
  }, compileVueTemplate = (descriptor, compiledScript, filePath, componentId) => {
205644
205649
  const scriptContent = compiledScript.content;
@@ -207724,6 +207729,7 @@ var init_buildDepVendor = __esm(() => {
207724
207729
  "react-refresh/runtime",
207725
207730
  "svelte",
207726
207731
  "svelte/internal",
207732
+ "svelte/internal/flags/async",
207727
207733
  "svelte/internal/client",
207728
207734
  "svelte/internal/disclose-version",
207729
207735
  "svelte/server",
@@ -215474,5 +215480,5 @@ export {
215474
215480
  ANGULAR_INIT_TIMEOUT_MS
215475
215481
  };
215476
215482
 
215477
- //# debugId=9599A488B032E0D464756E2164756E21
215483
+ //# debugId=42B23BB2993E873A64756E2164756E21
215478
215484
  //# sourceMappingURL=index.js.map