Closed michael-land closed 3 years ago
Could you provide a minimal reproduction of this? Build time typically only grows with the size of your source code (especially if skipLibCheck
is turned on, which seems to happen regardless for rpts2 per https://github.com/ezolenko/rollup-plugin-typescript2/issues/212) unless you've configured tsdx.config.js
to bundle external dependencies.
That being said, the --transpileOnly
flag exists to speed up builds by skipping type-checking.
Your issue is also missing environment details, so it's unclear what version you're on. There have been several performance improvements in recent versions.
Closing as stale
Anyone ideas how to speed up build when building component library on top of material-ui?
Current Behavior
It takes about 90 seconds to build a simple material-ui component library![image](https://user-images.githubusercontent.com/33362998/98842452-3eb39d00-240f-11eb-98bb-fd1356fbd240.png)
Expected behavior
It should be faster
Suggested solution(s)
Additional context
Your environment