Skip to content
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

fix(bundling): update the browsers for es5 terser check #17784

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Jun 26, 2023

Current Behavior

We currently set es5 for terser when we detect ie 11 in browserslist

Other browsers also do not support certain features like ??. Add them to the list of browsers

Expected Behavior

Add the other browsers that have versions that may be targetted by developers that only support es5 to the list that should set terser to es5

Related Issue(s)

Fixes #17620

Pointed out in #17708

@Coly010 Coly010 requested a review from a team as a code owner June 26, 2023 10:34
@Coly010 Coly010 requested a review from jaysoo June 26, 2023 10:34
@Coly010 Coly010 self-assigned this Jun 26, 2023
@vercel
Copy link

vercel bot commented Jun 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2023 10:37am

@nx-cloud
Copy link

nx-cloud bot commented Jun 26, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 51bb80d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@Coly010 Coly010 merged commit 8c9ad0d into nrwl:master Jul 5, 2023
@Coly010 Coly010 deleted the webpack/terset-browser-check branch July 5, 2023 16:10
FrozenPandaz pushed a commit that referenced this pull request Jul 7, 2023
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terser plugin set to 2020, thus shortening using nullish coalescing operator despite browserslist
2 participants