Re:Rome: An experimental JavaScript toolchain
by ratww on Monday April 13, 2020 @02:15PM
(#22858372)
I would bet on it performing better too, since Webpack/Babel/ESLint/TSC/Terser/Prettier all have to parse/process/pretty-print the code, using Javascript as the intermediate representation between each tool. That's very wasteful.
With a unified tool you can use a single AST. Or even better: an intermediate representation. You only need to parse and pretty-print once.
With a unified tool you can use a single AST. Or even better: an intermediate representation. You only need to parse and pretty-print once.