Closed ericpromislow closed 9 months ago
And when I add the plugins fork-ts-checker-notifier-webpack-plugin
and fork-ts-checker-webpack-plugin
I'm back to the previous time to start. But I'd rather understand why the time difference going from 8.4 to 9.4
It's the first time something like this has been reported. Going from 8 to 9 is purely migrating to use webpack 5 explicitly. Can you narrow the issue down to where the specific issue occurs? You're leaping from 8.4 to 9.4. It could be any one of the versions in between causing the issue. Identifying that would help understand.
That said, I'd advise using fork-ts-checker-webpack-plugin and transpileMode: true for preference anyway
Thx, guess we'll just go with using that plugin.
Expected Behaviour
Startup in development mode of our JS application normally takes about 1 minute on my macBook, from when I enter the command
yarn dev
, until the UI main window appears.Actual Behaviour
After bumping ts-loader from 8.4.0 to 9.4.4, that time doubled to about 2 minutes.
Steps to Reproduce the Problem
And again when the UI comes up, press return in the
x1=...
window and note the timeLocation of a Minimal Repository that Demonstrates the Issue.
https://github.com/rancher-sandbox/rancher-desktop.git
Not minimal, but it takes a lot of work to set up a typescript app.