浏览代码

minify script

Gildas 5 年之前
父节点
当前提交
ba4c09198f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rollup.config.js

+ 1 - 1
rollup.config.js

@@ -94,7 +94,7 @@ export default [{
 		file: "dist/web/editor/editor-helper-web.js",
 		format: "umd",
 		name: "singlefile",
-		plugins: []
+		plugins: [terser()]
 	}]
 }, {
 	input: ["extension/lib/single-file/browser-polyfill/chrome-browser-polyfill.js"],