DEV Community

Discussion on: You don't have to use Webpack

Collapse
 
yellow1912 profile image
yellow1912

I use npm scripts to do lots of things, including watching and building css and svg icons. I don't like the fact that with webpack you have to create a js file to include your css, then use an additional module if you want to output your case separately. That was one of those wtf moments I ran into with webpack.

That said, I'm still using webpack for is files, mainly to watch, build, transpile and minify. Maybe some day I can break away completely from webpack, for now I'm still stuck with it. Watching hundreds of js files and rebuild them can be slow with npm scripts.