Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Use default browserslist config and auto setting more modules in babel #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ianks
Copy link
Contributor

@ianks ianks commented Nov 10, 2021

Browserslist

I think using the defaults that browserslist recommends is better than specifying exact versions, since they do a lot of the heavy lifting of deciding what makes sense for most users.

Babel Config

Using the auto setting for modules when using babel is recommended. From the @babel/preset-env docs:

Setting this to false will preserve ES modules. Use this only if you intend to ship native ES Modules to browsers. If you are using a bundler with Babel, the default modules: "auto" is always preferred.

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.

1 participant