@absolutejs/absolute 0.19.0-beta.82 → 0.19.0-beta.83
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/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/dist/build.js +9 -6
- package/dist/build.js.map +3 -3
- package/dist/index.js +9 -6
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -204346,11 +204346,14 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
204346
204346
|
const { mkdirSync: mkdirSync9, writeFileSync: writeFileSync5 } = await import("fs");
|
|
204347
204347
|
mkdirSync9(resolve20(process.cwd(), ".absolutejs"), { recursive: true });
|
|
204348
204348
|
writeFileSync5(tmpConfig, JSON.stringify(buildConfig));
|
|
204349
|
-
|
|
204350
|
-
|
|
204351
|
-
|
|
204352
|
-
|
|
204353
|
-
|
|
204349
|
+
const escapedConfig = tmpConfig.replace(/\\/g, "\\\\");
|
|
204350
|
+
writeFileSync5(tmpScript, [
|
|
204351
|
+
'import { build } from "@absolutejs/absolute";',
|
|
204352
|
+
`const config = JSON.parse(await Bun.file("${escapedConfig}").text());`,
|
|
204353
|
+
"const manifest = await build(config);",
|
|
204354
|
+
'console.log("__MANIFEST__" + JSON.stringify(manifest));'
|
|
204355
|
+
].join(`
|
|
204356
|
+
`));
|
|
204354
204357
|
const proc = Bun.spawn(["bun", "run", tmpScript], {
|
|
204355
204358
|
cwd: process.cwd(),
|
|
204356
204359
|
stderr: "pipe",
|
|
@@ -204901,5 +204904,5 @@ export {
|
|
|
204901
204904
|
build
|
|
204902
204905
|
};
|
|
204903
204906
|
|
|
204904
|
-
//# debugId=
|
|
204907
|
+
//# debugId=98124A48B5AAEC2D64756E2164756E21
|
|
204905
204908
|
//# sourceMappingURL=build.js.map
|