innetjs 2.4.0-beta.0 → 2.4.0
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 +3 -1
- package/index.js +2 -0
- package/index.mjs +2 -0
- package/package.json +1 -1
package/bin/innet
CHANGED
|
@@ -316,6 +316,7 @@ class InnetJS {
|
|
|
316
316
|
browser: true,
|
|
317
317
|
}), polyfill__default["default"](), importAssets({
|
|
318
318
|
include: imageInclude.map(img => `src/${img}`),
|
|
319
|
+
publicPath: this.baseUrl,
|
|
319
320
|
}), styles__default["default"]({
|
|
320
321
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
321
322
|
url: true,
|
|
@@ -419,6 +420,7 @@ class InnetJS {
|
|
|
419
420
|
browser: true,
|
|
420
421
|
}), polyfill__default["default"](), importAssets({
|
|
421
422
|
include: imageInclude.map(img => `src/${img}`),
|
|
423
|
+
publicPath: this.baseUrl,
|
|
422
424
|
}), styles__default["default"]({
|
|
423
425
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
424
426
|
url: true,
|
|
@@ -782,7 +784,7 @@ class InnetJS {
|
|
|
782
784
|
}
|
|
783
785
|
|
|
784
786
|
(function () {
|
|
785
|
-
const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0
|
|
787
|
+
const env = {"__INNETJS__PACKAGE_VERSION":"2.4.0"};
|
|
786
788
|
if (typeof process === 'undefined') {
|
|
787
789
|
globalThis.process = { env: env };
|
|
788
790
|
} else if (process.env) {
|
package/index.js
CHANGED
|
@@ -206,6 +206,7 @@ class InnetJS {
|
|
|
206
206
|
browser: true,
|
|
207
207
|
}), polyfill__default["default"](), importAssets({
|
|
208
208
|
include: constants.imageInclude.map(img => `src/${img}`),
|
|
209
|
+
publicPath: this.baseUrl,
|
|
209
210
|
}), styles__default["default"]({
|
|
210
211
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
211
212
|
url: true,
|
|
@@ -309,6 +310,7 @@ class InnetJS {
|
|
|
309
310
|
browser: true,
|
|
310
311
|
}), polyfill__default["default"](), importAssets({
|
|
311
312
|
include: constants.imageInclude.map(img => `src/${img}`),
|
|
313
|
+
publicPath: this.baseUrl,
|
|
312
314
|
}), styles__default["default"]({
|
|
313
315
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
314
316
|
url: true,
|
package/index.mjs
CHANGED
|
@@ -171,6 +171,7 @@ class InnetJS {
|
|
|
171
171
|
browser: true,
|
|
172
172
|
}), polyfill(), importAssets({
|
|
173
173
|
include: imageInclude.map(img => `src/${img}`),
|
|
174
|
+
publicPath: this.baseUrl,
|
|
174
175
|
}), styles({
|
|
175
176
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
176
177
|
url: true,
|
|
@@ -274,6 +275,7 @@ class InnetJS {
|
|
|
274
275
|
browser: true,
|
|
275
276
|
}), polyfill(), importAssets({
|
|
276
277
|
include: imageInclude.map(img => `src/${img}`),
|
|
278
|
+
publicPath: this.baseUrl,
|
|
277
279
|
}), styles({
|
|
278
280
|
mode: this.cssInJs ? 'inject' : 'extract',
|
|
279
281
|
url: true,
|