innetjs 2.4.1 → 2.4.2
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 +9 -3
- package/index.js +8 -2
- package/index.mjs +8 -2
- package/package.json +1 -1
package/bin/innet
CHANGED
|
@@ -319,7 +319,10 @@ class InnetJS {
|
|
|
319
319
|
publicPath: this.baseUrl,
|
|
320
320
|
}), styles__default["default"]({
|
|
321
321
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
322
|
-
url:
|
|
322
|
+
url: {
|
|
323
|
+
inline: false,
|
|
324
|
+
publicPath: `${this.baseUrl}assets`,
|
|
325
|
+
},
|
|
323
326
|
plugins: [autoprefixer__default["default"]()],
|
|
324
327
|
autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
|
|
325
328
|
sourceMap: this.sourcemap,
|
|
@@ -423,7 +426,10 @@ class InnetJS {
|
|
|
423
426
|
publicPath: this.baseUrl,
|
|
424
427
|
}), styles__default["default"]({
|
|
425
428
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
426
|
-
url:
|
|
429
|
+
url: {
|
|
430
|
+
inline: false,
|
|
431
|
+
publicPath: `${this.baseUrl}assets`,
|
|
432
|
+
},
|
|
427
433
|
plugins: [autoprefixer__default["default"]()],
|
|
428
434
|
autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
|
|
429
435
|
sourceMap: true,
|
|
@@ -785,7 +791,7 @@ class InnetJS {
|
|
|
785
791
|
}
|
|
786
792
|
|
|
787
793
|
(function () {
|
|
788
|
-
const env = {"__INNETJS__PACKAGE_VERSION":"2.4.
|
|
794
|
+
const env = {"__INNETJS__PACKAGE_VERSION":"2.4.2"};
|
|
789
795
|
if (typeof process === 'undefined') {
|
|
790
796
|
globalThis.process = { env: env };
|
|
791
797
|
} else if (process.env) {
|
package/index.js
CHANGED
|
@@ -209,7 +209,10 @@ class InnetJS {
|
|
|
209
209
|
publicPath: this.baseUrl,
|
|
210
210
|
}), styles__default["default"]({
|
|
211
211
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
212
|
-
url:
|
|
212
|
+
url: {
|
|
213
|
+
inline: false,
|
|
214
|
+
publicPath: `${this.baseUrl}assets`,
|
|
215
|
+
},
|
|
213
216
|
plugins: [autoprefixer__default["default"]()],
|
|
214
217
|
autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
|
|
215
218
|
sourceMap: this.sourcemap,
|
|
@@ -313,7 +316,10 @@ class InnetJS {
|
|
|
313
316
|
publicPath: this.baseUrl,
|
|
314
317
|
}), styles__default["default"]({
|
|
315
318
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
316
|
-
url:
|
|
319
|
+
url: {
|
|
320
|
+
inline: false,
|
|
321
|
+
publicPath: `${this.baseUrl}assets`,
|
|
322
|
+
},
|
|
317
323
|
plugins: [autoprefixer__default["default"]()],
|
|
318
324
|
autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
|
|
319
325
|
sourceMap: true,
|
package/index.mjs
CHANGED
|
@@ -174,7 +174,10 @@ class InnetJS {
|
|
|
174
174
|
publicPath: this.baseUrl,
|
|
175
175
|
}), styles({
|
|
176
176
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
177
|
-
url:
|
|
177
|
+
url: {
|
|
178
|
+
inline: false,
|
|
179
|
+
publicPath: `${this.baseUrl}assets`,
|
|
180
|
+
},
|
|
178
181
|
plugins: [autoprefixer()],
|
|
179
182
|
autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
|
|
180
183
|
sourceMap: this.sourcemap,
|
|
@@ -278,7 +281,10 @@ class InnetJS {
|
|
|
278
281
|
publicPath: this.baseUrl,
|
|
279
282
|
}), styles({
|
|
280
283
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
281
|
-
url:
|
|
284
|
+
url: {
|
|
285
|
+
inline: false,
|
|
286
|
+
publicPath: `${this.baseUrl}assets`,
|
|
287
|
+
},
|
|
282
288
|
plugins: [autoprefixer()],
|
|
283
289
|
autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
|
|
284
290
|
sourceMap: true,
|