Commit 6ae1bffd authored by rockyl's avatar rockyl

修复可选属性链式语法

parent a3f28b7b
......@@ -13,6 +13,7 @@ async function compile(source, debug = false) {
presets: [
['@babel/env', {}]
],
plugins: ["@babel/proposal-optional-chaining"],
babelrc: false,
sourceMaps: debug,
});
......
This diff is collapsed.
......@@ -19,6 +19,7 @@ async function compile(source, debug = false) {
presets: [
['@babel/env', {}]
],
plugins: ["@babel/proposal-optional-chaining"],
babelrc: false,
sourceMaps: debug,
});
......
This diff is collapsed.
......@@ -17,6 +17,7 @@
presets: [
['@babel/env', {}]
],
plugins: ["@babel/proposal-optional-chaining"],
babelrc: false,
sourceMaps: debug,
});
......
This diff is collapsed.
......@@ -11,6 +11,7 @@ export async function compile(source, debug = false) {
presets: [
['@babel/env', {}]
],
plugins: ["@babel/proposal-optional-chaining"],
babelrc: false,
sourceMaps: debug,
});
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment