📝: update

This commit is contained in:
就眠儀式
2022-06-27 11:07:22 +08:00
parent 6e5108a734
commit f0c850985d
7 changed files with 48 additions and 8 deletions

View File

@@ -24,6 +24,16 @@ export default (): UserConfigExport => {
formats: ["es"],
fileName: (name) => `index.js`,
},
terserOptions: {
compress: {
drop_console: true,
drop_debugger: true,
pure_funcs: ["console.log"],
},
output: {
comments: true,
},
},
rollupOptions: {
output: {
globals: {