@nitro/webpack 11.0.1 → 11.0.2
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.
|
|
3
|
+
"version": "11.0.2",
|
|
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.
|
|
25
|
+
"@nitro/app": ">=11.0.2",
|
|
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.
|
|
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": "
|
|
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]
|
|
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]
|
|
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]
|
|
221
|
+
filename: 'media/[ext]/[name]-[contenthash:7][ext]',
|
|
222
222
|
},
|
|
223
223
|
};
|
|
224
224
|
webpackConfig.module.rules.push(utils.getEnrichedConfig(imageRule, options.rules.image));
|
|
@@ -256,7 +256,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
|
|
|
256
256
|
test: /.(woff(2)?)(\?[a-z0-9]+)?$/,
|
|
257
257
|
type: 'asset/resource',
|
|
258
258
|
generator: {
|
|
259
|
-
filename: 'media/fonts/[name]-[contenthash:7]
|
|
259
|
+
filename: 'media/fonts/[name]-[contenthash:7][ext]',
|
|
260
260
|
},
|
|
261
261
|
};
|
|
262
262
|
webpackConfig.module.rules.push(utils.getEnrichedConfig(woffRule, options.rules.woff));
|
|
@@ -273,7 +273,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
|
|
|
273
273
|
},
|
|
274
274
|
},
|
|
275
275
|
generator: {
|
|
276
|
-
filename: 'media/font/[name]-[contenthash:7]
|
|
276
|
+
filename: 'media/font/[name]-[contenthash:7][ext]',
|
|
277
277
|
},
|
|
278
278
|
};
|
|
279
279
|
webpackConfig.module.rules.push(utils.getEnrichedConfig(fontRule, options.rules.font));
|
|
@@ -290,7 +290,7 @@ module.exports = (options = { rules: {}, features: {} }) => {
|
|
|
290
290
|
},
|
|
291
291
|
},
|
|
292
292
|
generator: {
|
|
293
|
-
filename: 'media/[ext]/[name]-[contenthash:7]
|
|
293
|
+
filename: 'media/[ext]/[name]-[contenthash:7][ext]',
|
|
294
294
|
},
|
|
295
295
|
};
|
|
296
296
|
|