Closed jkarsrud closed 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.
This has been implemented, still has some kinks that needs to be worked out for full CSP compatibility.
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.