cozy / cozy-client-js

Javascript library to write Cozy applications
https://docs.cozy.io/en/cozy-client-js/README/
MIT License
11 stars 12 forks source link

Check if we need babel-polyfill #221

Closed ptbrowne closed 6 years ago

ptbrowne commented 6 years ago

Following https://github.com/cozy/cozy-bar/pull/113 where we had a problem importing twice babel-polyfill in the context of an app (1st via cozy-client, 2nd via cozy-bar), we removed babel-polyfill from the cozy-bar. Do we need to do the same in cozy-client ? Would it be better to import polyfills via babel-preset-env (in our case via babel-preset-cozy-app) ?

I post this issue here so I do not forget, this is not an immediate bug. ping @CPatchane

gregorylegarec commented 6 years ago

As long as cozy-client-js is still usable in a "simple" vanilla app without any dependency, we may remove it.

enguerran commented 6 years ago

Minute of meeting (@enguerran et @ptbrowne) :