News for hackers. Stuff that matters.
Re:Webpack 3: Official Release by fenomas on Tuesday June 20, 2017 @08:37AM (#14594089)
> what genius came up with the idea of inlining styles in a javascript bundle to begin with?

I do this in a project and it's terrific. The JS files in question are front-end components (for Vue.js in my case), and the point of having the styles inline is so that components can be a single file, styles can be prefixed to be local to that component, and so on. It's light-years easier to work with than trying to do something similar without a module bundler.

Re:Webpack 3: Official Release by nobleach on Tuesday June 20, 2017 @10:18AM (#14594797)
Because there are instances where one doesn't want to block rendering with large CSS file downloads? For above the fold content, inlining makes perfect sense.