@nitro/webpack 11.0.1 → 11.0.3

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": "11.0.1",
3
+ "version": "11.0.3",
4
4
  "description": "nitro webpack",
5
5
  "license": "MIT",
6
6
  "author": "The Nitro Team",
@@ -22,7 +22,7 @@
22
22
  "nitro"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@nitro/app": ">=11.0.1",
25
+ "@nitro/app": ">=11.0.3",
26
26
  "webpack": "^5"
27
27
  },
28
28
  "dependencies": {
@@ -31,7 +31,7 @@
31
31
  "@babel/preset-react": "7.28.5",
32
32
  "@babel/plugin-proposal-decorators": "7.29.0",
33
33
  "@babel/plugin-transform-class-properties": "7.28.6",
34
- "autoprefixer": "10.4.24",
34
+ "autoprefixer": "10.4.27",
35
35
  "babel-loader": "10.0.0",
36
36
  "case-sensitive-paths-webpack-plugin": "2.4.0",
37
37
  "css-loader": "7.1.4",
@@ -56,7 +56,7 @@
56
56
  "imagemin-mozjpeg": "10.0.0",
57
57
  "imagemin-optipng": "8.0.0",
58
58
  "imagemin-pngquant": "10.0.0",
59
- "imagemin-svgo": "11.0.1"
59
+ "imagemin-svgo": "12.0.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@merkle-open/eslint-config": "4.0.1",
@@ -184,7 +184,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
184
184
  test: /.(woff(2)?)(\?[a-z0-9]+)?$/,
185
185
  type: 'asset/resource',
186
186
  generator: {
187
- filename: 'media/fonts/[name]-[contenthash:7].[ext]',
187
+ filename: 'media/fonts/[name]-[contenthash:7][ext]',
188
188
  },
189
189
  };
190
190
  webpackConfig.module.rules.push(utils.getEnrichedConfig(woffRule, options.rules.woff));
@@ -201,7 +201,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
201
201
  },
202
202
  },
203
203
  generator: {
204
- filename: 'media/font/[name]-[contenthash:7].[ext]',
204
+ filename: 'media/font/[name]-[contenthash:7][ext]',
205
205
  },
206
206
  };
207
207
  webpackConfig.module.rules.push(utils.getEnrichedConfig(fontRule, options.rules.font));
@@ -218,7 +218,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
218
218
  },
219
219
  },
220
220
  generator: {
221
- filename: 'media/[ext]/[name]-[contenthash:7].[ext]',
221
+ filename: 'media/[ext]/[name]-[contenthash:7][ext]',
222
222
  },
223
223
  };
224
224
  webpackConfig.module.rules.push(utils.getEnrichedConfig(imageRule, options.rules.image));
@@ -61,11 +61,6 @@ module.exports = (options = { rules: {}, features: {} }) => {
61
61
  plugins: [
62
62
  {
63
63
  name: 'preset-default',
64
- params: {
65
- overrides: {
66
- removeViewBox: false,
67
- },
68
- },
69
64
  },
70
65
  ],
71
66
  },
@@ -256,7 +251,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
256
251
  test: /.(woff(2)?)(\?[a-z0-9]+)?$/,
257
252
  type: 'asset/resource',
258
253
  generator: {
259
- filename: 'media/fonts/[name]-[contenthash:7].[ext]',
254
+ filename: 'media/fonts/[name]-[contenthash:7][ext]',
260
255
  },
261
256
  };
262
257
  webpackConfig.module.rules.push(utils.getEnrichedConfig(woffRule, options.rules.woff));
@@ -273,7 +268,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
273
268
  },
274
269
  },
275
270
  generator: {
276
- filename: 'media/font/[name]-[contenthash:7].[ext]',
271
+ filename: 'media/font/[name]-[contenthash:7][ext]',
277
272
  },
278
273
  };
279
274
  webpackConfig.module.rules.push(utils.getEnrichedConfig(fontRule, options.rules.font));
@@ -290,7 +285,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
290
285
  },
291
286
  },
292
287
  generator: {
293
- filename: 'media/[ext]/[name]-[contenthash:7].[ext]',
288
+ filename: 'media/[ext]/[name]-[contenthash:7][ext]',
294
289
  },
295
290
  };
296
291