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.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  ;(function () {
4
- const env = {"__INNETJS__PACKAGE_VERSION":"2.4.1"};
4
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.4.2"};
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.1"};
2
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.4.2"};
3
3
  if (typeof process === 'undefined') {
4
4
  globalThis.process = { env: env };
5
5
  } else if (process.env) {
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: true,
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: true,
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.1"};
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: true,
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: true,
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: true,
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: true,
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innetjs",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "CLI for innet boilerplate",
5
5
  "homepage": "https://github.com/d8corp/innetjs",
6
6
  "author": "Mikhail Lysikov <d8corp@mail.ru>",