@Scott_Newcomer wrote:
I’m looking into removing a dependency at build time based on an environmental variable from process.env.
Looked at a few things:
- blacklist - doesn’t strip it from vendor.js
- Prod code only? - Remove a particular file/folder from the app tree depends upon the build environment
Is there a way to remove a dependency at build time in either
ember-cli-build
or does it have to be encapsulated in a separate addon?
Posts: 1
Participants: 1