This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Webpack compilation is very slow in bigger apps with --no-hmr or --debug-brk #925
Closed
Description
Environment
- CLI: 5.4.0
- Cross-platform modules: 5.4.0
- Android Runtime: 5.4.0
- iOS Runtime: 5.4.0
- Plugin: 0.24.0
To Reproduce
- Download the attached app.
- Execute
tns run ios/android
. The Webpack compilation will take between 2 minutes and hours depending on your hardware. - Make a change in order to trigger another compilation and LiveSync. The Webpack compilation will take another minutes/hours.
Expected behavior
The initial Webpack compilation should take a few seconds. The TypeCheck in the incremental compilations should be much faster than the initial one.
Sample project
Archive.zip