SteveSanderson / gulp-requirejs-bundler

Gulp plugin. Wraps gulp-requirejs and adds the ability to emit bundle files and bundle config.
MIT License
8 stars 12 forks source link

Question: is this for bundling multiple dependency graphs? #2

Open bapti opened 10 years ago

bapti commented 10 years ago

Hi,

I came across after watching your NDC presentation on knockout components. The way I kind of envisaged this working is that you'd have multiple components each with their own dependency graph. Is this for bundling each component graph into a single file?

I use requireJs for a multi page app and was wondering if I could use this to bundle each page dependency graph into a single bundle.

Once ko3.2 comes out I'm sure we'll be moving quite a bit of our functionality into components.

Thanks Neil

sirockin commented 9 years ago

+1 I've used the yeoman ko generator as per the same presentation and would like to extend the SPA into a multi-page application with a similar architecture but some bundled core code in a common file. I'm using the require.js optimizer multipage shim example - https://github.com/requirejs/example-multipage-shim - as a starting point but am having trouble working out how to map that format into the gulp-requirejs-bundler.

herbertpimentel commented 8 years ago

+1