3 ms·
> The build result doesn’t need to wait on the results of the type checking. TypeScript or Babel transpiling can happen even if there is a type error. I do run
by XCSme 6y ago
> The build result doesn’t need to wait on the results of the type checking. TypeScript or Babel transpiling can happen even if there is a type error.
I do run TypeScript async with Parcel, but I still wait for it to finish before I start working on a different task as I do want to know if I have any TS errors before proceeding.
> It doesn’t optimize the transformers/transpilers; but it does only run them against the modules that have changed.
But isn't this how other bundlers work too? They cache results and only run transformers on the changed files?
- genuine_smiles 6y agoI tweaked my comment a little. I’m not sure exactly how webpack is doing it’s work, but I think you’re right. I think the big optimization is skipping the bundling. If you want to wait on type checking results, and that’s the slowest part, then I don’t see how this could speed up your builds.