4 ms·
Currently looking at a 1000 line webpack config..........
by jscheel 4y ago
Currently looking at a 1000 line webpack config..........
- onion2k 4y agoYou're either doing something complicated or you're not using Webpack very well. Most Webpack config I've worked with isn't like that.
- jscheel 4y agoIt's justifiable for the level of complexity it is handling, but it does mean that trying to switch to a different build process is gonna be painful.
- meowtimemania 4y agoWhat does your 1000 line webpack config do?? I think part of the problem with webpack is it gives users the freedom to create 1000 line configs even though they’d be fine with a smaller more simple config
- wellanyway 4y agoProblem with webpack is that freeform JS code is not "configuaration". Configuration presumes set amount of features driven by declarative statement. Most of what I've seen done "in Webpack" in fact is shitty scripting in an awful language. I'm very happy to see movement away from this criminal waste of everyone's time.
- jscheel 4y agoNot gonna get into the details, as it's company proprietary code, but we aren't talking about a weekend project. This is a large, complex product that has a significant user-base, and it also has to handle a bunch of legacy stuff.
- wellanyway 4y agoSure, I did not mean you are doing something bad. I just happen to hate JS and Webpack with passion ;)
- jscheel 4y agoNo worries! I like js, I'm just feeling the pain of trying to move off webpack.