🎨 移动端前端编译目标设置为 es6 以兼容一些老的 WebView

This commit is contained in:
Liang Ding 2023-03-13 20:38:17 +08:00
parent 1a3b075ad5
commit b0b8ed621a
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -49,6 +49,9 @@ module.exports = (env, argv) => {
use: [
{
loader: "esbuild-loader",
options: {
target: "es6",
}
},
{
loader: "ifdef-loader",