@umijs/bundler-webpack 3.5.16 → 3.5.20
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.
|
@@ -307,6 +307,11 @@ function _getConfig() {
|
|
|
307
307
|
}
|
|
308
308
|
}); // prettier-ignore
|
|
309
309
|
|
|
310
|
+
webpackConfig.module.rule('avif').test(/\.(avif)(\?.*)?$/).use('file-loader').loader(require.resolve('@umijs/deps/compiled/file-loader')).options({
|
|
311
|
+
name: `${staticDir}/[name].[hash:8].[ext]`,
|
|
312
|
+
esModule: false
|
|
313
|
+
}); // prettier-ignore
|
|
314
|
+
|
|
310
315
|
webpackConfig.module.rule('svg').test(/\.(svg)(\?.*)?$/).use('file-loader').loader(require.resolve('@umijs/deps/compiled/file-loader')).options({
|
|
311
316
|
name: `${staticDir}/[name].[hash:8].[ext]`,
|
|
312
317
|
esModule: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-webpack",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.20",
|
|
4
4
|
"description": "@umijs/bundler-webpack",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"strip-ansi": "6.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@umijs/bundler-utils": "3.5.
|
|
41
|
-
"@umijs/deps": "3.5.
|
|
42
|
-
"@umijs/types": "3.5.
|
|
43
|
-
"@umijs/utils": "3.5.
|
|
40
|
+
"@umijs/bundler-utils": "3.5.20",
|
|
41
|
+
"@umijs/deps": "3.5.20",
|
|
42
|
+
"@umijs/types": "3.5.20",
|
|
43
|
+
"@umijs/utils": "3.5.20",
|
|
44
44
|
"jest-worker": "26.6.2",
|
|
45
45
|
"node-libs-browser": "2.2.1",
|
|
46
46
|
"normalize-url": "1.9.1",
|