123
This commit is contained in:
parent
af4956bdd8
commit
ffc4d585cd
@ -21,16 +21,16 @@ export default defineConfig({
|
||||
entry: path.resolve(__dirname, "src/index.ts"),
|
||||
name: camelize(name),
|
||||
},
|
||||
terserOptions: {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
// terserOptions: {
|
||||
// compress: {
|
||||
// drop_console: true,
|
||||
// drop_debugger: true,
|
||||
// pure_funcs: ["console.log"],
|
||||
// },
|
||||
// output: {
|
||||
// comments: true,
|
||||
// },
|
||||
// },
|
||||
rollupOptions: {
|
||||
output: {
|
||||
exports: "named",
|
||||
|
Loading…
x
Reference in New Issue
Block a user