summaryrefslogtreecommitdiff
path: root/frontend/.babelrc
diff options
context:
space:
mode:
authorunknown <[email protected]>2023-06-05 20:04:56 +0800
committerunknown <[email protected]>2023-06-05 20:04:56 +0800
commit6766bd7c6f5d59dc5a8024c192f7a511653feca3 (patch)
tree4f95df1832f326980370cacc80ef33d184bf4ede /frontend/.babelrc
frontend codeHEADmain
Diffstat (limited to 'frontend/.babelrc')
-rw-r--r--frontend/.babelrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/.babelrc b/frontend/.babelrc
new file mode 100644
index 0000000..3a280ba
--- /dev/null
+++ b/frontend/.babelrc
@@ -0,0 +1,12 @@
+{
+ "presets": [
+ ["env", {
+ "modules": false,
+ "targets": {
+ "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
+ }
+ }],
+ "stage-2"
+ ],
+ "plugins": ["transform-vue-jsx", "transform-runtime"]
+}