Skip to content

Fixes for older versions of node#101

Merged
tonypconway merged 3 commits intomainfrom
node8-fix
Sep 15, 2025
Merged

Fixes for older versions of node#101
tonypconway merged 3 commits intomainfrom
node8-fix

Conversation

@tonypconway
Copy link
Copy Markdown
Collaborator

@tonypconway tonypconway commented Sep 15, 2025

Now that baseline-browser-mapping is being used in browserslist, it is being used in many older versions of Node that don't support some of its syntax. This PR changes the compilation output to target ES2017, knowing that the module is used mostly in toolchain environments and we don't want to break compatibility for users in older environments.

Fixes browserslist/browserslist/issues/904
Fixes browserslist/browserslist/issues/905
Fixes #100

…delivr export path to ESM export, sets commonjs target to lower ESM version to support node 8
@tonypconway tonypconway merged commit 87e05ba into main Sep 15, 2025
1 check passed
@tonypconway tonypconway deleted the node8-fix branch September 15, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant