innetjs 2.4.0-alpha.5 → 2.4.0-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":"2.4.0-alpha.5"};
4
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0-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":"2.4.0-alpha.5"};
2
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0-alpha.6"};
3
3
  if (typeof process === 'undefined') {
4
4
  globalThis.process = { env: env };
5
5
  } else if (process.env) {
package/bin/innet CHANGED
@@ -417,7 +417,9 @@ class InnetJS {
417
417
  options.plugins.push(pluginNodeResolve.nodeResolve({
418
418
  browser: true,
419
419
  }), polyfill__default["default"](), staticImport__default["default"]({
420
- include: ['.jpg', '.jpeg', '.png', '.gif', '.svg', '.webp'],
420
+ include: ['**/*.jpg', '**/*.jpeg', '**/*.png', '**/*.gif', '**/*.svg', '**/*.webp'],
421
+ baseDir: this.srcFolder,
422
+ projectRoot: this.projectFolder,
421
423
  }), styles__default["default"]({
422
424
  mode: this.cssInJs ? 'inject' : 'extract',
423
425
  url: true,
@@ -781,7 +783,7 @@ class InnetJS {
781
783
  }
782
784
 
783
785
  (function () {
784
- const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0-alpha.5"};
786
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0-alpha.6"};
785
787
  if (typeof process === 'undefined') {
786
788
  globalThis.process = { env: env };
787
789
  } else if (process.env) {
package/index.js CHANGED
@@ -305,7 +305,9 @@ class InnetJS {
305
305
  options.plugins.push(pluginNodeResolve.nodeResolve({
306
306
  browser: true,
307
307
  }), polyfill__default["default"](), staticImport__default["default"]({
308
- include: ['.jpg', '.jpeg', '.png', '.gif', '.svg', '.webp'],
308
+ include: ['**/*.jpg', '**/*.jpeg', '**/*.png', '**/*.gif', '**/*.svg', '**/*.webp'],
309
+ baseDir: this.srcFolder,
310
+ projectRoot: this.projectFolder,
309
311
  }), styles__default["default"]({
310
312
  mode: this.cssInJs ? 'inject' : 'extract',
311
313
  url: true,
package/index.mjs CHANGED
@@ -270,7 +270,9 @@ class InnetJS {
270
270
  options.plugins.push(nodeResolve({
271
271
  browser: true,
272
272
  }), polyfill(), staticImport({
273
- include: ['.jpg', '.jpeg', '.png', '.gif', '.svg', '.webp'],
273
+ include: ['**/*.jpg', '**/*.jpeg', '**/*.png', '**/*.gif', '**/*.svg', '**/*.webp'],
274
+ baseDir: this.srcFolder,
275
+ projectRoot: this.projectFolder,
274
276
  }), styles({
275
277
  mode: this.cssInJs ? 'inject' : 'extract',
276
278
  url: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innetjs",
3
- "version": "2.4.0-alpha.5",
3
+ "version": "2.4.0-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>",