Skip to content

Commit

Permalink
Switch to @rollup/plugin-terser
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Jun 21, 2024
1 parent 1b6e7fe commit aa649dc
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ async function bundle(inputPath, format, outputPath, outputPathMin)
addOutput(outputPath);
if (outputPathMin != null)
{
const { terser } = require('rollup-plugin-terser');
const terser = require('@rollup/plugin-terser');

const minifyOpts =
{ compress: { passes: 2 }, output: { comments: (node, comment) => comment.pos === 0 } };
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@
},
"devDependencies": {
"@origin-1/eslint-config": "latest",
"@rollup/plugin-terser": "latest",
"ansi-colors": "latest",
"c8js": "latest",
"chai": "4",
@@ -54,7 +55,6 @@
"postrequire": "latest",
"rollup": "latest",
"rollup-plugin-cleanup": "latest",
"rollup-plugin-terser": "latest",
"sync-readable": "latest",
"typescript": "latest",
"typescript_4.7": "npm:typescript@4.7",

0 comments on commit aa649dc

Please sign in to comment.