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

swap to babel-preset-env #144

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

cocoastorm
Copy link

@cocoastorm cocoastorm commented Oct 22, 2019

Hey, I noticed vue-toasted is still using the babel-preset-2015.

Babel seems to be recommending to use babel-preset-env and relying on browserslist to figure out what features needs to be transpiled.

I've also set builtIns to usage so polyfills with core-js are automatically added in. This way polyfills don't need to be manually added (related to #143)

Not sure what is recommended for library authors in regards to core-js polyfills actually. I can look into this later if you like?

node-sass was also failing to build for me (on NodeJS 12), that's why I upgraded it.

Copy link
Owner

@shakee93 shakee93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please check this with the latest version. so i can accept this pull

@cocoastorm
Copy link
Author

hey sorry for the late reply! would you still be interested in me checking out the latest version?

@cocoastorm
Copy link
Author

I've merged the latest master into my branch. Let me know if there's anything else I need to change :)

@freitasskeeled freitasskeeled mentioned this pull request Dec 23, 2020
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.

None yet

2 participants