react-simple-pie-chart icon indicating copy to clipboard operation
react-simple-pie-chart copied to clipboard

Update babel presets

Open horacioh opened this issue 8 years ago • 2 comments

is in the interest of this library to update the babel presets to babel-preset-env ?

if true, I can provide a PR for this. I wanted to update this in my application that uses this package but because it uses the old presets I cannot update. some official info about this: http://babeljs.io/env

thanks!

horacioh avatar Apr 12 '18 13:04 horacioh

That would be a good change, I would gladly accept a PR making that change.

Also, how is your project set up so that the local .babelrc comes into play? We only expose a precompiled js bundle, so you shouldn't have to transpile the module.

trotzig avatar Apr 16 '18 07:04 trotzig

in my project we are using typescript, so maybe that's causing the transpilation?

I will check this too, but I still think its a good idea to update the babel preset :)

horacioh avatar Apr 18 '18 07:04 horacioh