Replies: 2 comments 12 replies
-
I guess type checker ( This is an uneducated guess, but many typescript projects use such config because the type checker is too slow to use synchronously in dev mode. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Oh, I was wrong. Can you try profiling with https://webpack.js.org/plugins/profiling-plugin/ ? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am trying out
swc
and am really enjoying the performance boost in webpack when usingwebpack-dev-server
, initial build time went from 30+ seconds to about 15 seconds.However, when I use
webpack-cli
to build, I don't see the same boost. Bothswc
andts-loader
leave me with about 45 seconds build time. What could be the reason for that?If you want me to share some part of my config I can probably do that, depending on what it is.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions