Skip to content

Commit c009190

Browse files
committed
Fix rollup incompatibility
1 parent 2006157 commit c009190

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

config/rollup.main-thread.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import compiler from '@ampproject/rollup-plugin-closure-compiler';
2-
import { terser } from 'rollup-plugin-terser';
2+
import terser from '@rollup/plugin-terser';
33
import { babelPlugin, removeDebugCommandExecutors, removeWorkerWhitespace, replacePlugin } from './rollup.plugins.mjs';
44

55
const ESModules = [

config/rollup.worker-thread.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import compiler from '@ampproject/rollup-plugin-closure-compiler';
2-
import { terser } from 'rollup-plugin-terser';
2+
import terser from '@rollup/plugin-terser';
33
import { babelPlugin, replacePlugin } from './rollup.plugins.mjs';
44

55
// Compile plugins should always be added at the end of the plugin list.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"rimraf": "5.0.5",
6767
"rollup": "3.29.4",
6868
"rollup-plugin-analyzer": "4.0.0",
69-
"rollup-plugin-terser": "7.0.2",
69+
"@rollup/plugin-terser": "0.4.4",
7070
"sinon": "15.2.0",
7171
"sirv": "2.0.4",
7272
"tslint": "6.1.3",

0 commit comments

Comments
 (0)