innetjs 3.0.0 → 3.0.1

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":"3.0.0"};
4
+ const env = {"__INNETJS__PACKAGE_VERSION":"3.0.1"};
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":"3.0.0"};
2
+ const env = {"__INNETJS__PACKAGE_VERSION":"3.0.1"};
3
3
  if (typeof process === 'undefined') {
4
4
  globalThis.process = { env: env };
5
5
  } else if (process.env) {
package/bin/innet CHANGED
@@ -302,6 +302,9 @@ class InnetJS {
302
302
  include: imageInclude.map(img => `src/${img}`),
303
303
  publicPath: this.baseUrl,
304
304
  }), styles__default["default"]({
305
+ sass: {
306
+ outputStyle: 'compressed',
307
+ },
305
308
  mode: this.cssInJs ? 'inject' : 'extract',
306
309
  url: {
307
310
  inline: false,
@@ -426,6 +429,9 @@ class InnetJS {
426
429
  inline: false,
427
430
  publicPath: `${this.baseUrl}assets`,
428
431
  },
432
+ sass: {
433
+ silenceDeprecations: ['legacy-js-api'],
434
+ },
429
435
  plugins: [autoprefixer__default["default"]()],
430
436
  autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
431
437
  sourceMap: true,
@@ -785,7 +791,7 @@ class InnetJS {
785
791
  }
786
792
 
787
793
  (function () {
788
- const env = {"__INNETJS__PACKAGE_VERSION":"3.0.0"};
794
+ const env = {"__INNETJS__PACKAGE_VERSION":"3.0.1"};
789
795
  if (typeof process === 'undefined') {
790
796
  globalThis.process = { env: env };
791
797
  } else if (process.env) {
package/index.js CHANGED
@@ -230,6 +230,9 @@ class InnetJS {
230
230
  include: constants.imageInclude.map(img => `src/${img}`),
231
231
  publicPath: this.baseUrl,
232
232
  }), styles__default["default"]({
233
+ sass: {
234
+ outputStyle: 'compressed',
235
+ },
233
236
  mode: this.cssInJs ? 'inject' : 'extract',
234
237
  url: {
235
238
  inline: false,
@@ -354,6 +357,9 @@ class InnetJS {
354
357
  inline: false,
355
358
  publicPath: `${this.baseUrl}assets`,
356
359
  },
360
+ sass: {
361
+ silenceDeprecations: ['legacy-js-api'],
362
+ },
357
363
  plugins: [autoprefixer__default["default"]()],
358
364
  autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
359
365
  sourceMap: true,
package/index.mjs CHANGED
@@ -193,6 +193,9 @@ class InnetJS {
193
193
  include: imageInclude.map(img => `src/${img}`),
194
194
  publicPath: this.baseUrl,
195
195
  }), styles({
196
+ sass: {
197
+ outputStyle: 'compressed',
198
+ },
196
199
  mode: this.cssInJs ? 'inject' : 'extract',
197
200
  url: {
198
201
  inline: false,
@@ -317,6 +320,9 @@ class InnetJS {
317
320
  inline: false,
318
321
  publicPath: `${this.baseUrl}assets`,
319
322
  },
323
+ sass: {
324
+ silenceDeprecations: ['legacy-js-api'],
325
+ },
320
326
  plugins: [autoprefixer()],
321
327
  autoModules: this.cssModules ? (id) => !id.includes('.global.') : true,
322
328
  sourceMap: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innetjs",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "CLI for innet boilerplate",
5
5
  "homepage": "https://github.com/d8corp/innetjs",
6
6
  "author": "Mikhail Lysikov <d8corp@mail.ru>",