Skip to content
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

How to handle multiple output bundles? #12

Open
ben-ng opened this issue Mar 28, 2015 · 1 comment
Open

How to handle multiple output bundles? #12

ben-ng opened this issue Mar 28, 2015 · 1 comment

Comments

@ben-ng
Copy link
Owner

ben-ng commented Mar 28, 2015

paq entry.js > out.js is simple and expected behavior, but doesn't really work when you need to create multiple output bundles.

@joeybaker any ideas for how the factored bundle api should work?

@joeybaker
Copy link
Contributor

The factor-bundle way:

paq first.js second.js --common [ -o firstOut.js -o secondOut.js ] > commonOut.js

IMHO:

paq first.js second.js -o firstOut.js -o secondOut.js --common commonOut.js

I like this because you're already going to need [named pipes] if you want to really stream the outputs in the browserify way. Disabling piping to stdin altogether feels "cleaner".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants