forestryio / create-static-site

Create static websites with no build configuration.
MIT License
135 stars 10 forks source link

How should we configure Babel #27

Open ncphillips opened 6 years ago

ncphillips commented 6 years ago

The Babel configuration for static-scripts is pretty basic right now.

I’m opening this issue to gather feedback on the Babel configuration, and see what would be a good configuration for the community.

The current configuration is available here

chrisdmacrae commented 6 years ago

In my refactor I'm simplified this just to babel-preset-env. (https://github.com/babel/babel/tree/master/packages/babel-preset-env)

It has a very active community and is guaranteed to manage standards for standard es5/es6/... JS.