From adc3cc2ffa52e030a840e9f988d5a91f80d8d230 Mon Sep 17 00:00:00 2001 From: Tai Zeming Date: Mon, 13 Nov 2023 23:13:01 +0800 Subject: [PATCH] chore(deps): replace deprecated rollup-plugin-terser with @rollup/plugin-terser (#8194) --- tooling/cli/templates/plugin/package.json | 2 +- tooling/cli/templates/plugin/webview-src/rollup.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tooling/cli/templates/plugin/package.json b/tooling/cli/templates/plugin/package.json index f724b3f75..0a6f3c593 100644 --- a/tooling/cli/templates/plugin/package.json +++ b/tooling/cli/templates/plugin/package.json @@ -14,8 +14,8 @@ "devDependencies": { "@rollup/plugin-node-resolve": "13.3.0", "@rollup/plugin-typescript": "8.3.3", + "@rollup/plugin-terser": "0.4.4", "rollup": "2.75.6", - "rollup-plugin-terser": "7.0.2", "typescript": "4.7.3" }, "dependencies": { diff --git a/tooling/cli/templates/plugin/webview-src/rollup.config.js b/tooling/cli/templates/plugin/webview-src/rollup.config.js index cf5affb2b..bf8450c7b 100644 --- a/tooling/cli/templates/plugin/webview-src/rollup.config.js +++ b/tooling/cli/templates/plugin/webview-src/rollup.config.js @@ -1,6 +1,6 @@ import { nodeResolve } from '@rollup/plugin-node-resolve' -import { terser } from 'rollup-plugin-terser' import typescript from '@rollup/plugin-typescript' +import terser from '@rollup/plugin-terser' export default { input: './webview-src/index.ts',