forked from shibao/cannery
generate fonts with correct filename
This commit is contained in:
parent
bab2b26c13
commit
1e645b5bb8
@ -45,7 +45,7 @@ module.exports = (env, options) => {
|
|||||||
{
|
{
|
||||||
test: /\.(woff(2)?|ttf|eot|svg|otf)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
test: /\.(woff(2)?|ttf|eot|svg|otf)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||||
type: 'asset/resource',
|
type: 'asset/resource',
|
||||||
generator: { filename: 'fonts/[name][ext]' }
|
generator: { filename: 'fonts/[name].[ext]' }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user