Browse Source

upd: vite 2.1.2

richard1015 4 years ago
parent
commit
44ef2bfaf1
2 changed files with 1 additions and 2 deletions
  1. 1 1
      package.json
  2. 0 1
      vite.config.build.ts

+ 1 - 1
package.json

@@ -75,7 +75,7 @@
     "prettier": "^1.19.1",
     "transliteration": "^2.2.0",
     "typescript": "^4.1.5",
-    "vite": "^2.1.1",
+    "vite": "^2.1.2",
     "vite-plugin-md": "^0.6.1"
   },
   "eslintConfig": {

+ 0 - 1
vite.config.build.ts

@@ -24,7 +24,6 @@ export default defineConfig({
   },
   plugins: [vue()],
   build: {
-    target: 'esnext',
     rollupOptions: {
       // 请确保外部化那些你的库中不需要的依赖
       external: ['vue'],