@pixolith/webpack-sw6-config 6.0.5 → 6.1.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixolith/webpack-sw6-config",
3
3
  "public": true,
4
- "version": "6.0.5",
4
+ "version": "6.1.0",
5
5
  "description": "",
6
6
  "main": "src/index.js",
7
7
  "scripts": {},
@@ -21,11 +21,12 @@
21
21
  "url": "https://github.com/pixolith/webpack-plugins/issues"
22
22
  },
23
23
  "homepage": "https://github.com/pixolith/webpack-plugins/tree/master/packages/webpack-hook-plugin/#readme",
24
- "gitHead": "b1b787d41296a845aef06a47e3beecd4fb848e63",
24
+ "gitHead": "150f7be4ac38fe9f487918e61be4d1fcf22a72f8",
25
25
  "dependencies": {
26
26
  "@babel/core": "^7.16.12",
27
27
  "@babel/plugin-proposal-class-properties": "^7.16.7",
28
28
  "@babel/plugin-proposal-object-rest-spread": "^7.16.7",
29
+ "@babel/plugin-proposal-optional-chaining": "^7.16.7",
29
30
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
30
31
  "@babel/plugin-transform-classes": "^7.16.7",
31
32
  "@babel/plugin-transform-runtime": "^7.16.10",
@@ -36,7 +37,7 @@
36
37
  "@pixolith/webpack-assets-copy-plugin": "^6.0.1",
37
38
  "@pixolith/webpack-filename-linter-plugin": "^6.0.1",
38
39
  "@pixolith/webpack-hook-plugin": "^6.0.1",
39
- "@pixolith/webpack-twig-assets-emitter-plugin": "^6.0.1",
40
+ "@pixolith/webpack-twig-assets-emitter-plugin": "^6.1.0",
40
41
  "@pixolith/webpack-watcher": "^6.0.1",
41
42
  "autoprefixer": "^9.7.4",
42
43
  "babel-eslint": "^10.0.3",
@@ -79,6 +80,7 @@
79
80
  "svg-transform-loader": "^2.0.8",
80
81
  "svgo-loader": "^2.2.1",
81
82
  "terser-webpack-plugin": "^2.3.3",
83
+ "time-fix-plugin": "^2.0.7",
82
84
  "url-loader": "^3.0.0",
83
85
  "webpack": "^4.41.5",
84
86
  "webpack-cli": "^3.3.10",
@@ -23,5 +23,6 @@ module.exports = {
23
23
  '@babel/proposal-object-rest-spread',
24
24
  '@babel/plugin-proposal-class-properties',
25
25
  '@babel/plugin-transform-classes',
26
+ '@babel/plugin-proposal-optional-chaining',
26
27
  ],
27
28
  };
@@ -13,7 +13,8 @@ const webpack = require('webpack'),
13
13
  Glob = require('glob'),
14
14
  isModern = process.env.MODE === 'modern',
15
15
  HookPlugin = require('@pixolith/webpack-hook-plugin'),
16
- sass = require('sass');
16
+ sass = require('sass'),
17
+ TimeFixPlugin = require('time-fix-plugin');
17
18
 
18
19
  module.exports = {
19
20
  target: 'web',
@@ -201,6 +202,8 @@ module.exports = {
201
202
  },
202
203
  }),
203
204
 
205
+ new TimeFixPlugin(),
206
+
204
207
  new webpack.DefinePlugin({
205
208
  'process.env.NODE_ENV': JSON.stringify(
206
209
  process.env.NODE_ENV || 'development',