Skip to content

Commit 0a52473

Browse files
build: use asset modules instead outdated url-loader
1 parent 90951ad commit 0a52473

3 files changed

Lines changed: 1 addition & 62 deletions

File tree

package-lock.json

Lines changed: 0 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"stream-combiner2": "1.1.1",
8888
"style-loader": "2.0.0",
8989
"terser-webpack-plugin": "5.1.2",
90-
"url-loader": "4.1.1",
9190
"webpack": "5.98.0",
9291
"webpack-cli": "6.0.1",
9392
"webpack-dev-server": "5.2.0"

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module.exports = opts => {
113113
},
114114
{
115115
test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/u,
116-
loader: 'url-loader'
116+
type: 'asset/inline'
117117
}
118118
]
119119
},

0 commit comments

Comments
 (0)