@nebula.js/cli-build 4.0.1 → 4.0.2

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/lib/build.js +3 -3
  2. package/package.json +2 -2
package/lib/build.js CHANGED
@@ -71,15 +71,15 @@ async function build(argv = {}) {
71
71
  await esm(buildConfig);
72
72
  console.timeEnd('Create ESM bundle');
73
73
 
74
- if (argv.systemjs) {
74
+ if (buildConfig.systemjs) {
75
75
  console.time('Support native format of the SystemJS loader');
76
76
  await systemjs(buildConfig);
77
77
  console.timeEnd('Support native format of the SystemJS loader');
78
78
  }
79
79
 
80
- if (argv.core) {
80
+ if (buildConfig.core) {
81
81
  console.time('Create ESM bundle into core');
82
- const core = path.resolve(process.cwd(), argv.core);
82
+ const core = path.resolve(process.cwd(), buildConfig.core);
83
83
  await esm(buildConfig, core);
84
84
  console.timeEnd('Create ESM bundle into core');
85
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/cli-build",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -44,5 +44,5 @@
44
44
  "tslib": "*",
45
45
  "typescript": ">=5.0.4"
46
46
  },
47
- "gitHead": "c105707099dc79c405f01d65cc338f1614ea9750"
47
+ "gitHead": "a00241510f1e1fd9a6bc94900204e70c55c0a065"
48
48
  }