rollup how to package multi-page application?
Closed this issue · 2 comments
tedyhy commented
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 commented
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 commented
thanks a lot @jlengstorf 😊