Skip to content

Commit

Permalink
fix: use correct terser plugin
Browse files Browse the repository at this point in the history
`rollup-plugin-terser` is no longer maintained
  • Loading branch information
dr497 committed Nov 8, 2023
1 parent 1355d32 commit 49e8bd2
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 64 deletions.
103 changes: 41 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
},
"devDependencies": {
"@foxwallet/wallet-adapter-foxwallet": "^0.1.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.10.0",
Expand All @@ -58,7 +59,6 @@
"gh-pages": "^6.0.0",
"postcss": "^8.4.31",
"prettier": "3.0.3",
"rollup-plugin-terser": "^7.0.2",
"tailwind-merge": "^2.0.0",
"tailwindcss": "^3.3.5",
"typescript": "^5.2.2",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import react from "@vitejs/plugin-react";
import { type UserConfig, defineConfig } from "vite";
import path from "path";
import { nodePolyfills } from "vite-plugin-node-polyfills";
import { terser } from "rollup-plugin-terser";
import terser from "@rollup/plugin-terser";

const resolvePath = (str: string) => path.resolve(__dirname, str);

Expand Down

0 comments on commit 49e8bd2

Please sign in to comment.