wirejs-scripts 3.0.5 → 3.0.6

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.
Files changed (2) hide show
  1. package/bin.js +3 -3
  2. package/package.json +1 -1
package/bin.js CHANGED
@@ -468,11 +468,11 @@ const engine = {
468
468
  async ['prebuild-api']() {
469
469
  logger.log("prebuilding api ...");
470
470
  await esbuild.build({
471
- entryPoints: [path.join(CWD, 'index.ts')],
471
+ entryPoints: [`${CWD}/**/*.ts`],
472
+ outdir: CWD,
472
473
  platform: 'node',
473
- bundle: true,
474
+ bundle: false,
474
475
  format: 'esm',
475
- outfile: path.join(CWD, 'index.js')
476
476
  });
477
477
  await prebuildApi();
478
478
  logger.log("api prebuild finished");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wirejs-scripts",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "Basic build and start commands for wirejs apps",
5
5
  "type": "module",
6
6
  "bin": {