Is your feature request related to a problem? Please describe.
As our user's app grows, their build time would be significantly slower since webpack needs to compile much more files than before, this will results more waiting to compile time while we develop.
Describe the solution you'd like
So my proposal is to implement on-demand module booting, module would only be built when requested, I think this would help to reduce the compile time.
Describe alternatives you've considered
We've tried to implement many optimization for webpack development build but it doesn't really add significant benefits, other easier approach is to build a module selector on start CLI, for example:
yarn start --module my_module
or if we want to work with multiple module, maybe we can do:
yarn start --module my_module,my_module2
Is your feature request related to a problem? Please describe.
As our user's app grows, their build time would be significantly slower since webpack needs to compile much more files than before, this will results more waiting to compile time while we develop.
Describe the solution you'd like
So my proposal is to implement on-demand module booting, module would only be built when requested, I think this would help to reduce the compile time.
Describe alternatives you've considered
We've tried to implement many optimization for webpack development build but it doesn't really add significant benefits, other easier approach is to build a module selector on
startCLI, for example:or if we want to work with multiple module, maybe we can do: