Skip to content

Remove npm dependencies we don't need anymore #1336

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

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

nevkontakte
Copy link
Member

  • We aren't using uglify-es since we switched to esbuild for prelude minification.
  • We no longer need source-map-support module since Node supports the equivalent functionality natively.

Our only NPM dependency at this point is the node-syscall module, which is deprecated and will be removed at some future point (#1328).

We haven't been using it since we switched to esbuild for prelude
minification.
Since Node 12 it supports the --enable-source-maps flag, which has been
considered stable since Node 14. Given we are now on 18, we can drop the
unneeded dependency and use the built-in flag.
@nevkontakte nevkontakte requested a review from flimzy July 31, 2024 19:48
@nevkontakte nevkontakte enabled auto-merge July 31, 2024 22:16
@nevkontakte nevkontakte merged commit 0390b03 into gopherjs:master Aug 1, 2024
10 checks passed
@nevkontakte nevkontakte deleted the drop-deps branch August 1, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants