@absolutejs/absolute 0.19.0-beta.384 → 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/angular/index.js +2 -2
- package/dist/angular/index.js.map +1 -1
- package/dist/angular/server.js +2 -2
- package/dist/angular/server.js.map +1 -1
- package/dist/build.js +7 -4
- package/dist/build.js.map +3 -3
- package/dist/index.js +7 -4
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -172650,7 +172650,7 @@ ${registrations}
|
|
|
172650
172650
|
({ tsLibDir } = cached);
|
|
172651
172651
|
cached.lastUsed = Date.now();
|
|
172652
172652
|
} else {
|
|
172653
|
-
const tsPath = __require.resolve("typescript");
|
|
172653
|
+
const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
|
|
172654
172654
|
const tsRootDir = dirname8(tsPath);
|
|
172655
172655
|
tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve15(tsRootDir, "lib");
|
|
172656
172656
|
const config = readConfiguration("./tsconfig.json");
|
|
@@ -173651,8 +173651,11 @@ var isDev, collectConventionSourceFiles = (entry) => {
|
|
|
173651
173651
|
if (!existsSync16(indexFile))
|
|
173652
173652
|
continue;
|
|
173653
173653
|
let content = readFileSync9(indexFile, "utf-8");
|
|
173654
|
-
|
|
173655
|
-
|
|
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
|
+
});
|
|
173656
173659
|
writeFileSync7(join18(devIndexDir, `${name}.svelte.js`), content);
|
|
173657
173660
|
}
|
|
173658
173661
|
}, copyVueDevIndexes = (vueDir, vuePagesPath, vueEntries, devIndexDir) => {
|
|
@@ -179186,5 +179189,5 @@ export {
|
|
|
179186
179189
|
build
|
|
179187
179190
|
};
|
|
179188
179191
|
|
|
179189
|
-
//# debugId=
|
|
179192
|
+
//# debugId=4CD266EF3064408B64756E2164756E21
|
|
179190
179193
|
//# sourceMappingURL=build.js.map
|