Frontend Node version support (#382)
This commit is contained in:
parent
003b3c7a78
commit
3ad47a4c8c
@ -98,5 +98,8 @@
|
||||
"no-unused-vars": "warn"
|
||||
}
|
||||
},
|
||||
"prettier": {}
|
||||
"prettier": {},
|
||||
"engines": {
|
||||
"node": ">=16 <20"
|
||||
}
|
||||
}
|
||||
|
@ -70,6 +70,9 @@ module.exports = {
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
filename: `js/[name]${isDevServer ? "" : ".[contenthash]"}.js`,
|
||||
publicPath: "/",
|
||||
// Fix node >v16 compatibility issues
|
||||
// https://stackoverflow.com/a/73465262
|
||||
hashFunction: "xxhash64",
|
||||
},
|
||||
|
||||
devtool: "inline-source-map",
|
||||
|
Loading…
Reference in New Issue
Block a user