Explorar el Código

update .babelrc

Yuki Takei hace 8 años
padre
commit
30742d56df
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      packages/growi-plugin-lsx/.babelrc

+ 6 - 1
packages/growi-plugin-lsx/.babelrc

@@ -1,6 +1,11 @@
 {
   "presets": [
-    "es2015", "react"
+    ["env", {
+      "targets": {
+        "browsers": ["last 2 versions"]
+      }
+    }],
+    "react"
   ],
   "plugins": [
     "add-module-exports",