@pixolith/webpack-sw6-config 6.0.5 → 6.0.6
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.
|
|
4
|
+
"version": "6.0.6",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"scripts": {},
|
|
@@ -21,7 +21,7 @@
|
|
|
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": "
|
|
24
|
+
"gitHead": "39850ebf61621c71a9643238dd7734b1602c1dc8",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/core": "^7.16.12",
|
|
27
27
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
"svg-transform-loader": "^2.0.8",
|
|
80
80
|
"svgo-loader": "^2.2.1",
|
|
81
81
|
"terser-webpack-plugin": "^2.3.3",
|
|
82
|
+
"time-fix-plugin": "^2.0.7",
|
|
82
83
|
"url-loader": "^3.0.0",
|
|
83
84
|
"webpack": "^4.41.5",
|
|
84
85
|
"webpack-cli": "^3.3.10",
|
|
@@ -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',
|