Skip to content

Commit 7d41f02

Browse files
committed
Switch to @rollup/plugin-terser
1 parent f71c6a8 commit 7d41f02

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function bundle(inputPath, format, outputPath, outputPathMin)
3333
addOutput(outputPath);
3434
if (outputPathMin != null)
3535
{
36-
const { terser } = require('rollup-plugin-terser');
36+
const terser = require('@rollup/plugin-terser');
3737

3838
const minifyOpts =
3939
{ compress: { passes: 2 }, output: { comments: (node, comment) => comment.pos === 0 } };

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
},
4040
"devDependencies": {
4141
"@origin-1/eslint-config": "latest",
42+
"@rollup/plugin-terser": "latest",
4243
"ansi-colors": "latest",
4344
"c8js": "latest",
4445
"chai": "4",
@@ -54,7 +55,6 @@
5455
"postrequire": "latest",
5556
"rollup": "latest",
5657
"rollup-plugin-cleanup": "latest",
57-
"rollup-plugin-terser": "latest",
5858
"sync-readable": "latest",
5959
"typescript": "latest",
6060
"typescript_4.7": "npm:typescript@4.7",

0 commit comments

Comments
 (0)