@absolutejs/absolute 0.19.0-beta.385 → 0.19.0-beta.386

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 CHANGED
@@ -173650,7 +173650,12 @@ var isDev, collectConventionSourceFiles = (entry) => {
173650
173650
  const indexFile = join18(svelteIndexDir, "pages", `${name}.js`);
173651
173651
  if (!existsSync16(indexFile))
173652
173652
  continue;
173653
- const content = readFileSync9(indexFile, "utf-8");
173653
+ let content = readFileSync9(indexFile, "utf-8");
173654
+ content = content.replace(/import\s+Component\s+from\s+['"]([^'"]+)['"]/, (_match, importPath) => {
173655
+ const resolvedImport = resolve16(dirname9(indexFile), String(importPath));
173656
+ const importUrl = `/@src/${relative9(process.cwd(), resolvedImport).replace(/\\/g, "/")}`;
173657
+ return `import Component from ${JSON.stringify(importUrl)}`;
173658
+ });
173654
173659
  writeFileSync7(join18(devIndexDir, `${name}.svelte.js`), content);
173655
173660
  }
173656
173661
  }, copyVueDevIndexes = (vueDir, vuePagesPath, vueEntries, devIndexDir) => {
@@ -179184,5 +179189,5 @@ export {
179184
179189
  build
179185
179190
  };
179186
179191
 
179187
- //# debugId=C163B4D2E7D0A6FE64756E2164756E21
179192
+ //# debugId=4CD266EF3064408B64756E2164756E21
179188
179193
  //# sourceMappingURL=build.js.map