Browse Source

upd: cli version

richard1015 5 years ago
parent
commit
afc0ead050
2 changed files with 19 additions and 1 deletions
  1. 18 0
      babel.config.js
  2. 1 1
      package.json

+ 18 - 0
babel.config.js

@@ -0,0 +1,18 @@
+
+const presets = [
+  [
+    "@babel/preset-env",
+    {
+      loose: true,
+      modules: false
+    }
+
+  ],
+];
+
+
+const plugins = [
+  "@babel/plugin-transform-runtime",
+];
+
+module.exports = { presets, plugins };

+ 1 - 1
package.json

@@ -52,7 +52,7 @@
   "dependencies": {
     "@commitlint/cli": "^8.0.0",
     "@commitlint/config-conventional": "^8.0.0",
-    "@nutui/cli": "0.0.7",
+    "@nutui/cli": "^0.0.8",
     "husky": "^3.0.0",
     "vue-lazyload": "^1.3.3"
   },