appstage 0.2.13 → 0.2.14

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/bin.js CHANGED
@@ -440,11 +440,12 @@ async function buildClient({ watch, watchClient }, plugins) {
440
440
  ...commonBuildOptions,
441
441
  entryPoints: clientEntries.map(({ path, name }) => ({
442
442
  in: path,
443
- out: `src/entries/${name}/dist/index`
443
+ out: `${name}/dist/index`
444
444
  })),
445
445
  bundle: true,
446
446
  splitting: true,
447
447
  format: "esm",
448
+ outdir: "src/entries",
448
449
  minify: process.env.NODE_ENV !== "development",
449
450
  plugins
450
451
  };
package/dist/index.cjs CHANGED
@@ -405,11 +405,12 @@ async function buildClient({ watch, watchClient }, plugins) {
405
405
  ...commonBuildOptions,
406
406
  entryPoints: clientEntries.map(({ path, name }) => ({
407
407
  in: path,
408
- out: `src/entries/${name}/dist/index`
408
+ out: `${name}/dist/index`
409
409
  })),
410
410
  bundle: true,
411
411
  splitting: true,
412
412
  format: "esm",
413
+ outdir: "src/entries",
413
414
  minify: process.env.NODE_ENV !== "development",
414
415
  plugins
415
416
  };
package/dist/index.mjs CHANGED
@@ -379,11 +379,12 @@ async function buildClient({ watch, watchClient }, plugins) {
379
379
  ...commonBuildOptions,
380
380
  entryPoints: clientEntries.map(({ path, name }) => ({
381
381
  in: path,
382
- out: `src/entries/${name}/dist/index`
382
+ out: `${name}/dist/index`
383
383
  })),
384
384
  bundle: true,
385
385
  splitting: true,
386
386
  format: "esm",
387
+ outdir: "src/entries",
387
388
  minify: process.env.NODE_ENV !== "development",
388
389
  plugins
389
390
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appstage",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -18,11 +18,12 @@ export async function buildClient(
18
18
  ...commonBuildOptions,
19
19
  entryPoints: clientEntries.map(({ path, name }) => ({
20
20
  in: path,
21
- out: `src/entries/${name}/dist/index`,
21
+ out: `${name}/dist/index`,
22
22
  })),
23
23
  bundle: true,
24
24
  splitting: true,
25
25
  format: "esm",
26
+ outdir: "src/entries",
26
27
  minify: process.env.NODE_ENV !== "development",
27
28
  plugins,
28
29
  };