diff --git a/package.json b/package.json index 75290584..0b5eb7f5 100644 --- a/package.json +++ b/package.json @@ -104,6 +104,7 @@ "@electron/notarize": "^2.2.0", "@rollup/plugin-commonjs": "^17.0.0", "@rollup/plugin-node-resolve": "^11.2.1", + "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^8.3.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/svelte": "^3.2.1", @@ -123,7 +124,6 @@ "rollup-plugin-livereload": "^2.0.0", "rollup-plugin-serve": "^1.1.0", "rollup-plugin-svelte": "^7.0.0", - "rollup-plugin-terser": "^7.0.0", "svelte": "^3.46.0", "svelte-check": "^2.2.12", "svelte-jester": "^2.3.2", @@ -149,7 +149,6 @@ "grandiose": "vassbo/grandiose#c0be908", "jzz": "^1.5.9", "node-machine-id": "^1.1.12", - "node-pre-gyp": "^0.17.0", "npm-run-all": "^4.1.5", "pdf-poppler": "^0.2.1", "pptx2json": "^0.0.8", diff --git a/rollup.config.js b/rollup.config.js index 4661a274..25366ca1 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -2,7 +2,7 @@ import svelte from "rollup-plugin-svelte" import commonjs from "@rollup/plugin-commonjs" import resolve from "@rollup/plugin-node-resolve" import livereload from "rollup-plugin-livereload" -import { terser } from "rollup-plugin-terser" +import { terser } from "@rollup/plugin-terser" import sveltePreprocess from "svelte-preprocess" import typescript from "@rollup/plugin-typescript" import css from "rollup-plugin-css-only"