wearereasonablepeople / warped-components

:cyclone: An opinionated way to build frontend applications
MIT License
18 stars 0 forks source link

enhancement: add a transpile step #10

Closed Amri91 closed 6 years ago

Amri91 commented 6 years ago

Fixes #9

Avaq commented 6 years ago

Note that index.js and index.mjs should be transparently interchangable - the tool loading it should be able to choose either and get the same result.

Transpiling the source means this is no longer the case. If we were to use transpilation to solve our compatibility issues, we would have to stop providing the mjs option, and lose the benefit of tree shaking.

Amri91 commented 6 years ago

https://github.com/wearereasonablepeople/warped-components/issues/9