ember-cli / rfcs

Archive of RFCs for changes to ember-cli (for current RFC repo see https://github.com/emberjs/rfcs)
45 stars 54 forks source link

Use a wrapping factory to simplify importing external libraries by fixing their missing imports and exports #99

Closed frederikbosch closed 5 years ago

frederikbosch commented 7 years ago

This proposal tries to simplify importing external libraries. More specifically, it tries to fix those libraries that do not use an AMD or CommonJS module loader without having to create an addon.

There is also a personal reason for this contribution. Recently I have been writing my own asset pipeline using Broccoli. And I am very happy and grateful with the Broccoli ecosystem. I feel I need to share my solutions to problems that might be also valid for Ember CLI. Mainly because those who contribute to Broccoli are doing so because of Ember. Moreover, I am also a very happy Ember user. However, it might be true that this proposal is not valid. The time I spend on Ember is not as much as it used to be. So I it might be true that there already is feature for this and therefore this proposal is superfluous. At least I hope this contributes some how.

rwjblue commented 5 years ago

We are working on closing the ember-cli/rfcs repo in favor of using a single central RFC's repo for everything. This was laid out in https://emberjs.github.io/rfcs/0300-rfc-process-update.html.

Sorry for the troubles, but would you mind reviewing to see if this is still something we need, and if so migrating this over to emberjs/rfcs?

Thank you!