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

build: Switch to ES modules #436

Merged
merged 4 commits into from
Aug 2, 2021
Merged

build: Switch to ES modules #436

merged 4 commits into from
Aug 2, 2021

Conversation

matatk
Copy link
Owner

@matatk matatk commented Aug 2, 2021

Node 14, which is currently LTS, has good ES module support, and adopting it will allow me to use the ?? operator. Seems like maybe quite a bit of work for just that :-) but this has simplified/consolidated/harmonised things a bit too.

This doesn't change the end product of the build, which still uses rollup to create a flattened version of the code.

@matatk matatk changed the title build: Switch to ES modules in most places build: Switch to ES modules Aug 2, 2021
@matatk matatk merged commit 35cfd5b into main Aug 2, 2021
@matatk matatk deleted the switch-to-es-modules branch August 2, 2021 20:01
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