jkarsrud / ember-cli-defeatureify

Ember-CLI addon to defeatureify your apps
MIT License
18 stars 6 forks source link

Embed enabled features in debug builds #2

Closed jkarsrud closed 9 years ago

jkarsrud commented 9 years ago

Look at the way it's done in emberjs-build by looking at the implementations done in https://github.com/emberjs/emberjs-build/pull/49 and https://github.com/emberjs/ember.js/pull/10221.

Doing this will enable users to use feature flags without running through defeatureify for debug/development builds, and only trigger defeatureify on production builds.

jkarsrud commented 9 years ago

This has been implemented, still has some kinks that needs to be worked out for full CSP compatibility.