fix(webpack): switch to wp-5 assets
This commit is contained in:
parent
4027f3144b
commit
ec4d710ce0
@ -98,15 +98,7 @@ async function webpackConfig() {
|
||||
},
|
||||
{
|
||||
test: /\.(woff(2)?|ttf|eot|svg)(\?.*)?$/i,
|
||||
use: [
|
||||
{
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '[contenthash].[ext]',
|
||||
esModule: false
|
||||
}
|
||||
}
|
||||
]
|
||||
type: 'asset'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user