Skip to content

Conversation

rmmh
Copy link

@rmmh rmmh commented Jun 3, 2024

↪️ Pull Request

Fix env.supports to match browserslist for es6-modules etc.

Critically, this ensures that a browserslist of "supports es6-modules" will not produce differential bundling <script nomodule> tags.

Minimum supported browser versions are largely sourced from caniuse.com, plus some data pulled from old user agent strings for the Chromium clones.

✔️ PR Todo

  • Added/updated unit tests for this change
  • Filled out test instructions (In case there aren't any unit tests)
  • Included links to related issues/PRs

Critically, this ensures that a browserslist of "supports es6-modules"
will *not* produce differential bundling <script nomodule> tags.

Minimum supported browser versions are largely sourced from caniuse.com,
plus some data pulled from old user agent strings for the Chromium clones.
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.

1 participant