mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 移动端前端编译目标设置为 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: [
|
use: [
|
||||||
{
|
{
|
||||||
loader: "esbuild-loader",
|
loader: "esbuild-loader",
|
||||||
|
options: {
|
||||||
|
target: "es6",
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
loader: "ifdef-loader",
|
loader: "ifdef-loader",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue