Is there a way to avoid/scape illegal chars as "çãáéó" and white spaces in filenames using type: 'asset' and assetModuleFilename: 'images/[name][ext] ?
[...]
output: {
[...]
assetModuleFilename: 'images/[name][ext][query]', // name NOT hash etc..
},
module: {
rules: [
{
test: /\.(jpe?g|png|gif|svg)$/i,
type: 'asset',
parser: {
dataUrlCondition: {
maxSize: 10 * 1024
}
}
},
[...]