I'm having a good time using broccoli to get the JS set up and webpack as a last mile to bundle them. Really good experience.
-
-
I'd love to know though, what it's "js set up" mean?
3 replies 0 retweets 3 likes -
is there any (probably historical?) reason why Webpack bundles everything in dev mode?
1 reply 0 retweets 0 likes -
Everything?
1 reply 0 retweets 0 likes -
The whole dependency graph/modules (entry.js -> bundle.js), instead of compiling individual files in development.
1 reply 0 retweets 0 likes -
What's the benefit to this?
1 reply 0 retweets 0 likes -
Can immediately think of faster incremental compilation (compile changes, don't bundle) and simpler HMR (load changed files in parallel).
2 replies 0 retweets 1 like -
Replying to @roman01la @TheLarkInn and
Not saying Webpack should do it, but it seems to be a common practice to have compilation and bundling separate.
1 reply 0 retweets 1 like -
I just use broccoli for compilation and webpack for bundling. Works great as I've been saying
1 reply 0 retweets 1 like -
Lol Yehuda so are you saying you don't use any webpack loaders then?
1 reply 0 retweets 1 like
Correct.
-
-
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.