patternfly/patternfly-react-seed

Performance Issues

seanforyou23 opened this issue · 0 comments

As the size of a project based on this seed app grows, we begin to notice performance problems, particularly around running production builds, but also even just around starting/hot-reloading the dev server. No errors per-say, but at one point I saw the dev server and prod build taking minute(s) to recompile - this is far too slow to be practical for development.

Can we make some improvements to the webpack config to make it better again?

Here's an example of how long it takes to build the empty project/start dev server on my local machine (~11 seconds).

Screen Shot 2019-07-02 at 9 11 58 AM

Screen Shot 2019-07-02 at 9 13 05 AM