Re:Vercel announces Turbopack, the successor to Webpack
by JoshGlazebrook on Tuesday October 25, 2022 @02:16PM
(#33334232)
If the configuration is a nightmare like webpack then not likely.
[ Parent
| on HN ]
Re:Vercel announces Turbopack, the successor to Webpack
by onion2k on Tuesday October 25, 2022 @03:48PM
(#33335276)
Webpack has a reputation that was deserved in early versions. More recently it's not so bad unless you have very specific needs. If all you're doing is building a standard app from things like JS or TS, a CSS processor, and maybe a framework you probably won't need more than half a dozen lines of config that you can paste from Webpack or your framework's docs.
Re:Vercel announces Turbopack, the successor to Webpack
by jscheel on Tuesday October 25, 2022 @04:19PM
(#33335598)
Currently looking at a 1000 line webpack config..........
Re:Vercel announces Turbopack, the successor to Webpack
by onion2k on Tuesday October 25, 2022 @04:38PM
(#33335832)
You're either doing something complicated or you're not using Webpack very well. Most Webpack config I've worked with isn't like that.
Re:Vercel announces Turbopack, the successor to Webpack
by jscheel on Tuesday October 25, 2022 @04:56PM
(#33336067)
It'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.
Re:Vercel announces Turbopack, the successor to Webpack
by meowtimemania on Tuesday October 25, 2022 @05:28PM
(#33336410)
What 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
Re:Vercel announces Turbopack, the successor to Webpack
by wellanyway on Wednesday October 26, 2022 @08:41AM
(#33342778)
Problem 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.
Re:Vercel announces Turbopack, the successor to Webpack
by jscheel on Wednesday October 26, 2022 @10:30AM
(#33344279)
Not 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.
Re:Vercel announces Turbopack, the successor to Webpack
by wellanyway on Wednesday October 26, 2022 @10:33AM
(#33344324)
Sure, I did not mean you are doing something bad. I just happen to hate JS and Webpack with passion ;)