zhengnaiwen_citu 3 months ago
parent
commit
4710843900
2 changed files with 9 additions and 15 deletions
  1. 9 2
      .browserslistrc
  2. 0 13
      package.json

+ 9 - 2
.browserslistrc

@@ -1,4 +1,11 @@
+# 支持 IE11 的生产环境配置
 > 1%
 last 2 versions
-not dead,
-IE 11
+not dead
+ie >= 11
+
+# 开发环境配置
+[development]
+last 1 chrome version
+last 1 firefox version
+last 1 safari version

+ 0 - 13
package.json

@@ -63,18 +63,5 @@
     "uglifyjs-webpack-plugin": "^2.2.0",
     "vue-cli-plugin-vuetify": "~2.5.8",
     "vue-template-compiler": "^2.6.14"
-  },
-  "browserslist": {
-    "production": [
-      "> 1%",
-      "last 2 versions",
-      "not dead",
-      "ie >= 11"
-    ],
-    "development": [
-      "last 1 chrome version",
-      "last 1 firefox version",
-      "last 1 safari version"
-    ]
   }
 }