vue-toasted icon indicating copy to clipboard operation
vue-toasted copied to clipboard

swap to babel-preset-env

Open cocoastorm opened this issue 6 years ago • 2 comments

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.

cocoastorm avatar Oct 22 '19 19:10 cocoastorm

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

cocoastorm avatar May 01 '20 22:05 cocoastorm

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

cocoastorm avatar May 02 '20 13:05 cocoastorm