-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditional import #16
Comments
I fully agree this is a huge problem. I suspect this is something faced by other addons. I would like to try to solve it by looking in to |
I am just realising that using |
I am so 😭 😭 😭 now |
Going through old issues, is this a possibility now? |
Even with babel 6 |
Hi! I'm thinking about an addon with test helpers that would rely on lodash. If the host app does not depend on lodash directly, then my addon should not include lodash in I can imagine |
I'm trying to figure out if it's possible to use this library in my addon, but optionally not import lodash into the host app's final
vendor.js
. I use this in Ember CLI Mirage, which is primarily enabled in development/testing.Is there a strategy I can take for a Mirage option be used at build-time to exclude lodash? I'm happy to PR once I have a better idea. My broccoli-fu is weak.
The text was updated successfully, but these errors were encountered: