🎨 移动端前端编译目标设置为 es6 以兼容一些老的 WebView
This commit is contained in:
parent
1a3b075ad5
commit
b0b8ed621a
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ module.exports = (env, argv) => {
|
|||
use: [
|
||||
{
|
||||
loader: "esbuild-loader",
|
||||
options: {
|
||||
target: "es6",
|
||||
}
|
||||
},
|
||||
{
|
||||
loader: "ifdef-loader",
|
||||
|
|
Loading…
Add table
Reference in a new issue