Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit fc57b59

Browse files
committed
Update rollup config for new terser plugin
1 parent 3e408cd commit fc57b59

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

rollup.config.mjs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
import path from "path";
22
import resolve from "@rollup/plugin-node-resolve";
33
import typescript from "@rollup/plugin-typescript";
4-
import { terser } from "rollup-plugin-terser";
4+
import terser from "@rollup/plugin-terser";
55
import license from "rollup-plugin-license";
66
import sizes from "rollup-plugin-sizes";
77

88
const __dirname = path.resolve();
99
const extensions = [".ts", ".js"];
1010
const commonPlugins = [
11-
terser({
12-
output: {
13-
comments: false
14-
}
15-
}),
11+
terser(),
1612
license({
1713
banner: {
1814
content: {
@@ -59,4 +55,3 @@ export default [
5955
}
6056
}
6157
];
62-

0 commit comments

Comments
 (0)