Remove raw-loader dependency (#15112)

Webpack now includes this functionality, allowing us to drop this
now-deprecated dependency.

Ref: https://webpack.js.org/guides/asset-modules/
Ref: https://webpack.js.org/loaders/raw-loader/
This commit is contained in:
silverwind 2021-03-22 23:10:09 +01:00 committed by GitHub
parent dfb3e50dce
commit 405969c541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 37 deletions

View file

@ -207,11 +207,7 @@ module.exports = {
{
test: /\.svg$/,
include: resolve(__dirname, 'public/img/svg'),
use: [
{
loader: 'raw-loader',
},
],
type: 'asset/source',
},
{
test: /\.(ttf|woff2?)$/,