This commit is contained in:
_Bastler 2021-05-28 15:46:25 +02:00
parent ae67f43a7e
commit 76f35acc17

View File

@ -102,21 +102,16 @@ module.exports = {
}
},
{
test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
use: [
{
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'fonts/'
}
}
]
},
{
test: /\.(ttf|eot|svg|png|gif|jpg)$/,
test: /\.(eot|svg|png|gif|jpg)$/,
exclude: /node_modules/,
type: 'asset'
},
{
test: /\.(woff(2)?|ttf)$/,
type: 'asset',
generator: {
filename: 'fonts/[name][ext]'
}
}
],
},