Skip to content

Commit

Permalink
switch from deprecated to new terser package
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Deubler <[email protected]>
  • Loading branch information
TerminalTim committed Aug 30, 2024
1 parent 4734079 commit 23f760c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.4",
"rollup": "^2.78.1",
"rollup-plugin-terser": "^7.0.2",
"@rollup/plugin-terser": "^0.4.4",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/common/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import typescript from '@rollup/plugin-typescript';
import {terser} from 'rollup-plugin-terser';
import terser from '@rollup/plugin-terser';

const pkg = require('./package.json');
const production = process.env.BUILD === 'production';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"rbush": "^3.0.1",
"rollup": "^2.78.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"@rollup/plugin-terser": "^0.4.4",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import commonjs from '@rollup/plugin-commonjs';
import nodeResolve from '@rollup/plugin-node-resolve';
import typescript from '@rollup/plugin-typescript';
import {terser} from 'rollup-plugin-terser';
import terser from '@rollup/plugin-terser';
import virtual from '@rollup/plugin-virtual';
import sourcemaps from 'rollup-plugin-sourcemaps';
import git from 'git-rev-sync';
Expand Down
2 changes: 1 addition & 1 deletion packages/display/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"gl-matrix": "^3.4.3",
"rollup": "^2.79.1",
"rollup-plugin-glslify": "^1.3.1",
"rollup-plugin-terser": "^7.0.2",
"@rollup/plugin-terser": "^0.4.4",
"tslib": "^2.4.1",
"typescript": "^4.7.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/display/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import typescript from '@rollup/plugin-typescript';
import {terser} from 'rollup-plugin-terser';
import terser from '@rollup/plugin-terser';
import commonjs from '@rollup/plugin-commonjs';
import nodeResolve from '@rollup/plugin-node-resolve';
import virtual from '@rollup/plugin-virtual';
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@rollup/plugin-typescript": "^8.3.4",
"rollup": "^2.78.1",
"rollup-plugin-img": "^1.1.0",
"rollup-plugin-terser": "^7.0.2",
"@rollup/plugin-terser": "^0.4.4",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import typescript from '@rollup/plugin-typescript';
import {terser} from 'rollup-plugin-terser';
import terser from '@rollup/plugin-terser';
import image from 'rollup-plugin-img';

const pkg = require('./package.json');
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"rollup": "^2.78.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"@rollup/plugin-terser": "^0.4.4",
"sass": "^1.54.5",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import virtual from '@rollup/plugin-virtual';
import json from '@rollup/plugin-json';
import settings from './settings.json';
import {join} from 'path';
import {terser} from 'rollup-plugin-terser';
import terser from '@rollup/plugin-terser';
import fs from 'fs';
import nodeResolve from 'resolve';
const tsServicePath = nodeResolve.sync('typescript/lib/typescriptServices.js');
Expand Down

0 comments on commit 23f760c

Please sign in to comment.