@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/dist/index.js CHANGED
@@ -204346,11 +204346,14 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
204346
204346
  const { mkdirSync: mkdirSync9, writeFileSync: writeFileSync5 } = await import("fs");
204347
204347
  mkdirSync9(resolve21(process.cwd(), ".absolutejs"), { recursive: true });
204348
204348
  writeFileSync5(tmpConfig, JSON.stringify(buildConfig));
204349
- writeFileSync5(tmpScript, `import { build } from "@absolutejs/absolute";
204350
- const config = JSON.parse(await Bun.file(${JSON.stringify(tmpConfig)}).text());
204351
- const manifest = await build(config);
204352
- console.log("__MANIFEST__" + JSON.stringify(manifest));
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",
@@ -205306,5 +205309,5 @@ export {
205306
205309
  ANGULAR_INIT_TIMEOUT_MS
205307
205310
  };
205308
205311
 
205309
- //# debugId=59537330412D478264756E2164756E21
205312
+ //# debugId=90E34EDEE058CBAC64756E2164756E21
205310
205313
  //# sourceMappingURL=index.js.map