@nitro/webpack 6.0.0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitro/webpack",
3
- "version": "6.0.0",
3
+ "version": "6.0.4",
4
4
  "description": "nitro webpack",
5
5
  "license": "MIT",
6
6
  "author": "The Nitro Team",
@@ -43,23 +43,22 @@
43
43
  "js-config-webpack-plugin": "2.0.3",
44
44
  "mini-css-extract-plugin": "1.6.2",
45
45
  "optimize-css-assets-webpack-plugin": "6.0.1",
46
- "postcss": "8.3.11",
46
+ "postcss": "8.4.5",
47
47
  "postcss-loader": "4.3.0",
48
48
  "resolve-url-loader": "4.0.0",
49
- "sass": "1.43.4",
49
+ "sass": "1.45.0",
50
50
  "sass-loader": "10.2.0",
51
51
  "stylelint": "13.13.1",
52
52
  "stylelint-webpack-plugin": "2.2.2",
53
53
  "svgo": "2.8.0",
54
54
  "ts-config-webpack-plugin": "2.0.3",
55
- "typescript": "4.5.2",
55
+ "typescript": "4.5.3",
56
56
  "url-loader": "4.1.1",
57
57
  "webpack": "4.46.0",
58
58
  "webpackbar": "5.0.2",
59
59
  "webpack-bundle-analyzer": "4.5.0"
60
60
  },
61
61
  "optionalDependencies": {
62
- "imagemin-gifsicle": "7.0.0",
63
62
  "imagemin-mozjpeg": "9.0.0",
64
63
  "imagemin-optipng": "8.0.0",
65
64
  "imagemin-pngquant": "9.0.2",
@@ -220,16 +220,13 @@ module.exports = (options = { rules: {}, features: {} }) => {
220
220
  if (options.rules.image) {
221
221
  // image loader & minification
222
222
  const imageMinificationRule = {
223
- test: /\.(png|jpg|gif|svg)$/,
223
+ test: /\.(png|jpg|svg)$/,
224
224
  // Specify enforce: 'pre' to apply the loader before url-loader
225
225
  enforce: 'pre',
226
226
  use: {
227
227
  loader: require.resolve('img-loader'),
228
228
  options: {
229
229
  plugins: [
230
- require('imagemin-gifsicle')({
231
- interlaced: false,
232
- }),
233
230
  require('imagemin-mozjpeg')({
234
231
  quality: 75,
235
232
  progressive: true,