innetjs 2.4.0-alpha.12 → 2.4.0-alpha.13

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":"2.4.0-alpha.12"};
4
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0-alpha.13"};
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":"2.4.0-alpha.12"};
2
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0-alpha.13"};
3
3
  if (typeof process === 'undefined') {
4
4
  globalThis.process = { env: env };
5
5
  } else if (process.env) {
package/bin/innet CHANGED
@@ -414,12 +414,11 @@ class InnetJS {
414
414
  : undefined;
415
415
  // @ts-expect-error
416
416
  options.output.format = 'es';
417
- options.plugins.push(pluginNodeResolve.nodeResolve({
418
- browser: true,
419
- }), polyfill__default["default"](), staticImport__default["default"]({
417
+ options.plugins.push(staticImport__default["default"]({
420
418
  include: ['**/*.webp', '**/*.gif', '**/*.png', '**/*.jpeg', '**/*.jpg', '**/*.svg'],
421
- exclude: ['**/node_modules/**'],
422
- }), styles__default["default"]({
419
+ }), pluginNodeResolve.nodeResolve({
420
+ browser: true,
421
+ }), polyfill__default["default"](), styles__default["default"]({
423
422
  mode: this.cssInJs ? 'inject' : 'extract',
424
423
  url: true,
425
424
  plugins: [autoprefixer__default["default"]()],
@@ -782,7 +781,7 @@ class InnetJS {
782
781
  }
783
782
 
784
783
  (function () {
785
- const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0-alpha.12"};
784
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0-alpha.13"};
786
785
  if (typeof process === 'undefined') {
787
786
  globalThis.process = { env: env };
788
787
  } else if (process.env) {
package/index.js CHANGED
@@ -302,12 +302,11 @@ class InnetJS {
302
302
  : undefined;
303
303
  // @ts-expect-error
304
304
  options.output.format = 'es';
305
- options.plugins.push(pluginNodeResolve.nodeResolve({
306
- browser: true,
307
- }), polyfill__default["default"](), staticImport__default["default"]({
305
+ options.plugins.push(staticImport__default["default"]({
308
306
  include: ['**/*.webp', '**/*.gif', '**/*.png', '**/*.jpeg', '**/*.jpg', '**/*.svg'],
309
- exclude: ['**/node_modules/**'],
310
- }), styles__default["default"]({
307
+ }), pluginNodeResolve.nodeResolve({
308
+ browser: true,
309
+ }), polyfill__default["default"](), styles__default["default"]({
311
310
  mode: this.cssInJs ? 'inject' : 'extract',
312
311
  url: true,
313
312
  plugins: [autoprefixer__default["default"]()],
package/index.mjs CHANGED
@@ -267,12 +267,11 @@ class InnetJS {
267
267
  : undefined;
268
268
  // @ts-expect-error
269
269
  options.output.format = 'es';
270
- options.plugins.push(nodeResolve({
271
- browser: true,
272
- }), polyfill(), staticImport({
270
+ options.plugins.push(staticImport({
273
271
  include: ['**/*.webp', '**/*.gif', '**/*.png', '**/*.jpeg', '**/*.jpg', '**/*.svg'],
274
- exclude: ['**/node_modules/**'],
275
- }), styles({
272
+ }), nodeResolve({
273
+ browser: true,
274
+ }), polyfill(), styles({
276
275
  mode: this.cssInJs ? 'inject' : 'extract',
277
276
  url: true,
278
277
  plugins: [autoprefixer()],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innetjs",
3
- "version": "2.4.0-alpha.12",
3
+ "version": "2.4.0-alpha.13",
4
4
  "description": "CLI for innet boilerplate",
5
5
  "homepage": "https://github.com/d8corp/innetjs",
6
6
  "author": "Mikhail Lysikov <d8corp@mail.ru>",