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:
parent
dfb3e50dce
commit
405969c541
3 changed files with 1 additions and 37 deletions
|
@ -207,11 +207,7 @@ module.exports = {
|
|||
{
|
||||
test: /\.svg$/,
|
||||
include: resolve(__dirname, 'public/img/svg'),
|
||||
use: [
|
||||
{
|
||||
loader: 'raw-loader',
|
||||
},
|
||||
],
|
||||
type: 'asset/source',
|
||||
},
|
||||
{
|
||||
test: /\.(ttf|woff2?)$/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue