@pixolith/webpack-sw6-config 4.3.5 → 6.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixolith/webpack-sw6-config",
3
3
  "public": true,
4
- "version": "4.3.5",
4
+ "version": "6.0.1",
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": "349078fc171bd5cf1c0187ed42f9ee08d4e77d77",
24
+ "gitHead": "4cd8ee04ad9e0203092df63bc6ba6b061348db14",
25
25
  "dependencies": {
26
- "@babel/core": "^7.8.4",
27
- "@babel/plugin-proposal-class-properties": "^7.8.3",
28
- "@babel/plugin-proposal-object-rest-spread": "^7.8.3",
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.10.3",
31
- "@babel/plugin-transform-runtime": "^7.8.3",
32
- "@babel/preset-env": "^7.8.4",
33
- "@pixolith/eslint-config-sw6": "^4.3.0",
34
- "@pixolith/external-svg-sprite-loader": "^4.3.4",
35
- "@pixolith/stylelint-config-standard": "^4.3.0",
36
- "@pixolith/webpack-assets-copy-plugin": "^4.3.0",
37
- "@pixolith/webpack-filename-linter-plugin": "^4.3.0",
38
- "@pixolith/webpack-hook-plugin": "^4.3.0",
39
- "@pixolith/webpack-twig-assets-emitter-plugin": "^4.3.5",
40
- "@pixolith/webpack-watcher": "^4.3.0",
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.0.6",
43
+ "babel-loader": "^8.2.3",
44
44
  "change-case": "^4.1.1",
45
- "chokidar": "^3.3.1",
45
+ "chokidar": "^3.5.3",
46
46
  "concurrently": "^5.2.0",
47
- "consola": "^2.11.3",
48
- "core-js": "^3.6.4",
49
- "cross-env": "^7.0.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.14",
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.1.6",
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-loader": "^8.0.2",
71
- "sass-resources-loader": "^2.0.1",
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",
@@ -57,13 +57,13 @@ module.exports = {
57
57
  Path.resolve(privatePath, 'js'),
58
58
  Path.resolve(
59
59
  process.cwd(),
60
- 'vendor/shopware/storefront/Resources/app/storefront/vendor',
60
+ 'vendor/shopware/administration/Resources/app/administration/src',
61
61
  ),
62
62
  ],
63
63
  alias: {
64
64
  src: Path.join(
65
65
  process.cwd(),
66
- 'vendor/shopware/storefront/Resources/app/storefront/src',
66
+ 'vendor/shopware/administration/Resources/app/administration/src',
67
67
  ),
68
68
  },
69
69
  },
@@ -81,7 +81,11 @@ module.exports = {
81
81
  {
82
82
  loader: 'sass-resources-loader',
83
83
  options: {
84
- resources: JSON.parse(process.env.RESOURCES_PATHS),
84
+ resources: JSON.parse(
85
+ process.env.RESOURCES_PATHS,
86
+ ).filter((path) => {
87
+ return Glob.sync(path).length > 0;
88
+ }),
85
89
  },
86
90
  },
87
91
  ],