Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

--exclude flag to explicitly exclude libs from build #163

Open
rvagg opened this issue Oct 15, 2012 · 0 comments
Open

--exclude flag to explicitly exclude libs from build #163

rvagg opened this issue Oct 15, 2012 · 0 comments

Comments

@rvagg
Copy link
Member

rvagg commented Oct 15, 2012

Mainly for use where you want to exclude deps from libs from being included in your build. Could come in handy for libs that have extra Node deps that don't need to be in the browser but the specific example I'm thinking of is where you may want to switch out one lib for another compatible lib: Underscore & Lo-Dash being the prime example.

$ ender build jeesh reqwest backbone lodash --exclude underscore

(the only way to achieve this at the moment is to set up a local backbone clone with a package.json that doesn't have underscore and build with ender build jeesh reqwest /path/to/backbone lodash)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/742629-exclude-flag-to-explicitly-exclude-libs-from-build?utm_campaign=plugin&utm_content=tracker%2F165667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F165667&utm_medium=issues&utm_source=github).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants