chore(deps): replace deprecated rollup-plugin-terser with @rollup/plugin-terser (#8194)

This commit is contained in:
Tai Zeming 2023-11-13 23:13:01 +08:00 committed by GitHub
parent b6ed4ecb37
commit adc3cc2ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@
"devDependencies": { "devDependencies": {
"@rollup/plugin-node-resolve": "13.3.0", "@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-typescript": "8.3.3", "@rollup/plugin-typescript": "8.3.3",
"@rollup/plugin-terser": "0.4.4",
"rollup": "2.75.6", "rollup": "2.75.6",
"rollup-plugin-terser": "7.0.2",
"typescript": "4.7.3" "typescript": "4.7.3"
}, },
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
import { nodeResolve } from '@rollup/plugin-node-resolve' import { nodeResolve } from '@rollup/plugin-node-resolve'
import { terser } from 'rollup-plugin-terser'
import typescript from '@rollup/plugin-typescript' import typescript from '@rollup/plugin-typescript'
import terser from '@rollup/plugin-terser'
export default { export default {
input: './webview-src/index.ts', input: './webview-src/index.ts',