Dan Schuman

Results 36 comments of Dan Schuman

I'm able to drop the rebuild time significantly without bootstrap/font-awesome loaders in the `main` entry. Going to look into splitting it into a separate chunk.

Weird.. I thought I commented a reply to @bdefore: Modifying or even removing the devtool doesn't do much for me. In my case, it's nearly all time due to the...

Perhaps it's simply that bootstrap generates a ton of CSS, and `css-loader` chokes on that. I will try bypassing `css-loader` for bootstrap and see what happens.

@Phoenixmatrix thanks. The problem with this setup is that whenever we change any of our JS files, it triggers an entire rebuild, including the CSS. I could not figure a...

Thanks for helping out! Appreciate it. Be sure to change the `devtool` to something fast like `inline-eval-cheap-source-map`. I forgot to do that and it was screwing up my benchmarks.

Ok! I just changed `devtool` to `inline-eval-cheap-source-map`, and then edited `bootstrap-sass-loader` to this: https://github.com/quicksnap/bootstrap-sass-loader/commit/6e60e0f0bb1e19d727cd53cab5aa6fbc565c4124 (switch out `css-loader` for `raw-loader`) This _significantly_ speeds things up for me.

I think it still would be an even better improvement if we could get webpack to avoid rebuilding bootstrap unless the bootstrap config file changes.

I hope it is improved by the time our css grows. I really like CSS Modules...

@mmahalwy I'm not recommending avoiding it--I'll try to issue a PR to bootstrap-sass-loader soon. The change is minor. I don't see any problems using raw-loader over css-loader in bootstrap-sass-loader.