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