@pixolith/webpack-sw6-config 5.0.1 → 6.0.4
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 +26 -27
- package/src/webpack.config.dev.js +7 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixolith/webpack-sw6-config",
|
|
3
3
|
"public": true,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.4",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"scripts": {},
|
|
@@ -21,54 +21,53 @@
|
|
|
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": "aad8ecff5cc0d12c425ffc310d1623f4199bdc22",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/core": "^7.
|
|
27
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
28
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
26
|
+
"@babel/core": "^7.16.12",
|
|
27
|
+
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
28
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
|
|
29
29
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
30
|
-
"@babel/plugin-transform-classes": "^7.
|
|
31
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
32
|
-
"@babel/preset-env": "^7.
|
|
33
|
-
"@pixolith/eslint-config-sw6": "^
|
|
34
|
-
"@pixolith/external-svg-sprite-loader": "^
|
|
35
|
-
"@pixolith/stylelint-config-standard": "^
|
|
36
|
-
"@pixolith/webpack-assets-copy-plugin": "^
|
|
37
|
-
"@pixolith/webpack-filename-linter-plugin": "^
|
|
38
|
-
"@pixolith/webpack-hook-plugin": "^
|
|
39
|
-
"@pixolith/webpack-twig-assets-emitter-plugin": "^
|
|
40
|
-
"@pixolith/webpack-watcher": "^
|
|
30
|
+
"@babel/plugin-transform-classes": "^7.16.7",
|
|
31
|
+
"@babel/plugin-transform-runtime": "^7.16.10",
|
|
32
|
+
"@babel/preset-env": "^7.16.11",
|
|
33
|
+
"@pixolith/eslint-config-sw6": "^6.0.1",
|
|
34
|
+
"@pixolith/external-svg-sprite-loader": "^6.0.1",
|
|
35
|
+
"@pixolith/stylelint-config-standard": "^6.0.1",
|
|
36
|
+
"@pixolith/webpack-assets-copy-plugin": "^6.0.1",
|
|
37
|
+
"@pixolith/webpack-filename-linter-plugin": "^6.0.1",
|
|
38
|
+
"@pixolith/webpack-hook-plugin": "^6.0.1",
|
|
39
|
+
"@pixolith/webpack-twig-assets-emitter-plugin": "^6.0.1",
|
|
40
|
+
"@pixolith/webpack-watcher": "^6.0.1",
|
|
41
41
|
"autoprefixer": "^9.7.4",
|
|
42
42
|
"babel-eslint": "^10.0.3",
|
|
43
|
-
"babel-loader": "^8.
|
|
43
|
+
"babel-loader": "^8.2.3",
|
|
44
44
|
"change-case": "^4.1.1",
|
|
45
|
-
"chokidar": "^3.3
|
|
45
|
+
"chokidar": "^3.5.3",
|
|
46
46
|
"concurrently": "^5.2.0",
|
|
47
|
-
"consola": "^2.
|
|
48
|
-
"core-js": "^3.
|
|
49
|
-
"cross-env": "^7.0.
|
|
47
|
+
"consola": "^2.15.3",
|
|
48
|
+
"core-js": "^3.20.3",
|
|
49
|
+
"cross-env": "^7.0.3",
|
|
50
50
|
"css-loader": "^3.4.2",
|
|
51
51
|
"deepmerge": "^4.2.2",
|
|
52
52
|
"eslint": "^6.8.0",
|
|
53
53
|
"eslint-friendly-formatter": "^4.0.1",
|
|
54
54
|
"eslint-loader": "^3.0.3",
|
|
55
55
|
"eslint-plugin-filenames": "^1.3.2",
|
|
56
|
-
"eslint-plugin-spellcheck": "0.0.
|
|
56
|
+
"eslint-plugin-spellcheck": "0.0.19",
|
|
57
57
|
"execa": "^4.0.0",
|
|
58
|
-
"expose-loader": "^0.7.5",
|
|
59
58
|
"external-svg-sprite-loader": "^5.0.1",
|
|
60
59
|
"extract-css-chunks-webpack-plugin": "^4.7.4",
|
|
61
60
|
"file-loader": "^5.0.2",
|
|
62
|
-
"glob": "^7.
|
|
61
|
+
"glob": "^7.2.0",
|
|
63
62
|
"html-loader": "^0.5.5",
|
|
64
|
-
"node-sass": "^4.13.1",
|
|
65
63
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
66
64
|
"postcss": "^7.0.26",
|
|
67
65
|
"postcss-loader": "^3.0.0",
|
|
68
66
|
"prettier": "^1.19.1",
|
|
69
67
|
"rimraf": "^3.0.2",
|
|
70
|
-
"sass
|
|
71
|
-
"sass-
|
|
68
|
+
"sass": "^1.49.0",
|
|
69
|
+
"sass-loader": "^10.2.0",
|
|
70
|
+
"sass-resources-loader": "^2.2.4",
|
|
72
71
|
"string-replace-loader": "^2.2.0",
|
|
73
72
|
"style-loader": "^1.1.3",
|
|
74
73
|
"stylelint": "^13.0.0",
|
|
@@ -13,7 +13,8 @@ const webpack = require('webpack'),
|
|
|
13
13
|
watcher = require('@pixolith/webpack-watcher'),
|
|
14
14
|
Glob = require('glob'),
|
|
15
15
|
isModern = process.env.MODE === 'modern',
|
|
16
|
-
HookPlugin = require('@pixolith/webpack-hook-plugin')
|
|
16
|
+
HookPlugin = require('@pixolith/webpack-hook-plugin'),
|
|
17
|
+
sass = require('sass');
|
|
17
18
|
|
|
18
19
|
module.exports = {
|
|
19
20
|
target: 'web',
|
|
@@ -75,7 +76,11 @@ module.exports = {
|
|
|
75
76
|
loader: 'sass-loader',
|
|
76
77
|
options: {
|
|
77
78
|
sourceMap: !isProd,
|
|
78
|
-
|
|
79
|
+
additionalData: `$asset_url: '${ASSET_URL}';`,
|
|
80
|
+
sassOptions: {
|
|
81
|
+
quietDeps: true,
|
|
82
|
+
logger: sass.Logger.silent,
|
|
83
|
+
},
|
|
79
84
|
},
|
|
80
85
|
},
|
|
81
86
|
{
|