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.
- package/_virtual/_rollup-plugin-process-env.js +1 -1
- package/_virtual/_rollup-plugin-process-env.mjs +1 -1
- package/bin/innet +4 -2
- package/index.js +3 -1
- package/index.mjs +3 -1
- package/package.json +1 -1
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: ['
|
|
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.
|
|
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: ['
|
|
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: ['
|
|
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,
|