-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: replace deprecated packages #2221
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
"rollup-plugin-node-builtins": "^2.1.2", | ||
"rollup-plugin-node-globals": "^1.4.0", | ||
"rollup-plugin-terser": "^7.0.2" | ||
"rollup-plugin-polyfill-node": "^0.12.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE:
Alternative of rollup-plugin-node-builtins
=> rollup-plugin-node-polyfills
(calvinmetcalf/rollup-plugin-node-builtins#65)
But it is also unmaintained.
Alternative of rollup-plugin-node-polyfills
=> rollup-plugin-polyfill-node
(ionic-team/rollup-plugin-node-polyfills#28 (comment))
The rollup-plugin-polyfill-node
is downloaded as same as the rollup-plugin-node-builtins
.
https://npmtrends.com/rollup-plugin-node-builtins-vs-rollup-plugin-node-polyfills-vs-rollup-plugin-polyfill-node
rollup recommends using rollup-plugin-polyfill-node
.
remorses/esbuild-plugins#18 (comment)
Why
Some packages are deprecated, or the current version is deprecated.
What
How to test
N/A
Checklist
pnpm lint
andpnpm test
on the root directory.