Browse Source

修改打包为es5

bill-lai 3 years ago
parent
commit
d74baca7c5
2 changed files with 1 additions and 1 deletions
  1. 0 0
      .babelrc
  2. 1 1
      rollup.config.js

.balbelrc → .babelrc


+ 1 - 1
rollup.config.js

@@ -60,7 +60,7 @@ if (process.env.npm_lifecycle_script.includes('production')) {
 				exclude: "node_modules/**"
 			}),
 			// 压缩代码
-			uglify()
+			// uglify()
 		]
 	})
 }