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

rollup how to package multi-page application? #35

Closed
tedyhy opened this issue Apr 25, 2017 · 2 comments
Closed

rollup how to package multi-page application? #35

tedyhy opened this issue Apr 25, 2017 · 2 comments

Comments

@tedyhy
Copy link

tedyhy commented Apr 25, 2017

hi,I would like to ask a question, rollup how to package multi-page application, it seems to be only a single entry (a string), unlike the webpack entry can be an array or object. My current solution is to traverse the rollup configuration file to generate multiple bundles, but can not generate a common bundle like webpack.
thanks a lot.

@jlengstorf
Copy link
Owner

Hey, @tedyhy — this is probably a better question for either Stack Overflow or the Rollup repo. In general, though, once you get into more advanced use cases you'll probably have an easier time using Webpack 2, which offers the same tree-shaking benefits of Rollup, but also has extra tools for use cases like you've described.

@tedyhy
Copy link
Author

tedyhy commented May 1, 2017

thanks a lot @jlengstorf 😊

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

No branches or pull requests

2 participants