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.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  ;(function () {
4
- const env = {"__INNETJS__PACKAGE_VERSION":"3.0.2-alpha.5"};
4
+ const env = {"__INNETJS__PACKAGE_VERSION":"3.0.2-alpha.6"};
5
5
  if (typeof process === 'undefined') {
6
6
  globalThis.process = { env: env };
7
7
  } else if (process.env) {
@@ -1,5 +1,5 @@
1
1
  ;(function () {
2
- const env = {"__INNETJS__PACKAGE_VERSION":"3.0.2-alpha.5"};
2
+ const env = {"__INNETJS__PACKAGE_VERSION":"3.0.2-alpha.6"};
3
3
  if (typeof process === 'undefined') {
4
4
  globalThis.process = { env: env };
5
5
  } else if (process.env) {
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.5"};
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
@@ -482,6 +482,9 @@ class InnetJS {
482
482
  external(),
483
483
  ],
484
484
  };
485
+ if (format === 'iife') {
486
+ options.plugins.push(terser());
487
+ }
485
488
  this.withLint(options);
486
489
  this.withEnv(options, true);
487
490
  const bundle = yield rollup.rollup(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innetjs",
3
- "version": "3.0.2-alpha.5",
3
+ "version": "3.0.2-alpha.6",
4
4
  "description": "CLI for innet boilerplate",
5
5
  "homepage": "https://github.com/d8corp/innetjs",
6
6
  "author": "Mikhail Lysikov <d8corp@mail.ru>",