chore: update linter config

This commit is contained in:
Justineo
2024-07-24 14:48:53 +08:00
committed by GU Yiling
parent 9fe76efa93
commit 2d310a3891
5 changed files with 1677 additions and 1405 deletions

View File

@ -21,12 +21,12 @@ export default {
.type("asset/source");
config.module
.rule('wasm')
.rule("wasm")
.test(/\.wasm$/)
.type('asset/resource')
.set('generator', {
filename: '[name].[hash:8][ext]'
})
.type("asset/resource")
.set("generator", {
filename: "[name].[hash:8][ext]"
});
config.plugin("define").tap(([options]) => [
{