innetjs 3.0.2-alpha.5 → 3.0.2-alpha.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/_virtual/_rollup-plugin-process-env.js +1 -1
- package/_virtual/_rollup-plugin-process-env.mjs +1 -1
- package/bin/innet +4 -1
- package/index.js +3 -0
- package/index.mjs +3 -0
- package/package.json +1 -1
package/bin/innet
CHANGED
|
@@ -591,6 +591,9 @@ class InnetJS {
|
|
|
591
591
|
external__default["default"](),
|
|
592
592
|
],
|
|
593
593
|
};
|
|
594
|
+
if (format === 'iife') {
|
|
595
|
+
options.plugins.push(rollupPluginTerser.terser());
|
|
596
|
+
}
|
|
594
597
|
this.withLint(options);
|
|
595
598
|
this.withEnv(options, true);
|
|
596
599
|
const bundle = yield rollup__default["default"].rollup(options);
|
|
@@ -810,7 +813,7 @@ class InnetJS {
|
|
|
810
813
|
}
|
|
811
814
|
|
|
812
815
|
(function () {
|
|
813
|
-
const env = {"__INNETJS__PACKAGE_VERSION":"3.0.2-alpha.
|
|
816
|
+
const env = {"__INNETJS__PACKAGE_VERSION":"3.0.2-alpha.6"};
|
|
814
817
|
if (typeof process === 'undefined') {
|
|
815
818
|
globalThis.process = { env: env };
|
|
816
819
|
} else if (process.env) {
|
package/index.js
CHANGED
|
@@ -519,6 +519,9 @@ class InnetJS {
|
|
|
519
519
|
external__default["default"](),
|
|
520
520
|
],
|
|
521
521
|
};
|
|
522
|
+
if (format === 'iife') {
|
|
523
|
+
options.plugins.push(rollupPluginTerser.terser());
|
|
524
|
+
}
|
|
522
525
|
this.withLint(options);
|
|
523
526
|
this.withEnv(options, true);
|
|
524
527
|
const bundle = yield rollup__default["default"].rollup(options);
|
package/index.mjs
CHANGED