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.
- package/_virtual/_rollup-plugin-process-env.js +1 -1
- package/_virtual/_rollup-plugin-process-env.mjs +1 -1
- package/bin/innet +5 -6
- package/index.js +4 -5
- package/index.mjs +4 -5
- package/package.json +1 -1
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(
|
|
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
|
-
|
|
422
|
-
|
|
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.
|
|
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(
|
|
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
|
-
|
|
310
|
-
|
|
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(
|
|
271
|
-
browser: true,
|
|
272
|
-
}), polyfill(), staticImport({
|
|
270
|
+
options.plugins.push(staticImport({
|
|
273
271
|
include: ['**/*.webp', '**/*.gif', '**/*.png', '**/*.jpeg', '**/*.jpg', '**/*.svg'],
|
|
274
|
-
|
|
275
|
-
|
|
272
|
+
}), nodeResolve({
|
|
273
|
+
browser: true,
|
|
274
|
+
}), polyfill(), styles({
|
|
276
275
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
277
276
|
url: true,
|
|
278
277
|
plugins: [autoprefixer()],
|