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.
- package/bin.js +3 -3
- 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: [
|
|
471
|
+
entryPoints: [`${CWD}/**/*.ts`],
|
|
472
|
+
outdir: CWD,
|
|
472
473
|
platform: 'node',
|
|
473
|
-
bundle:
|
|
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");
|