apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.03k stars 1.28k forks source link

Replace deprecated `rollup-plugin-terser` with `@rollup/plugin-terser` #4547

Closed poteboy closed 3 days ago

poteboy commented 4 days ago

New Pull Request

The rollup-plugin-terser has not had a commit in four years, has been deprecated, and is no longer maintained. Therefore, I have replaced it with its successor, @rollup/plugin-terser.

Additionally, I noticed that the makeMap function, which was passed to the pure_funcs option, is not defined anywhere in the codebase (as verified by a grep search). Including such a function that is undefined and potentially has side effects in the future is error-prone. Hence, I have removed this option.

Other PRs (such as apexcharts#3709) have updated dependencies without performing a build. Following this precedent, this PR does not include an updated build.

Type of change

Please delete options that are not relevant.

Checklist: