Closed barretodavid closed 7 years ago
JIT is used for local development primarily because livereload can be triggered in a fraction of the time it takes Rollup to bundle. This is particularly noticeable as application scales. It is possible to trigger livereload on both JIT and AOT compile. The way its setup is to make it less painful to maintain both but it may be configurable in some way to make it even more convenient. This way local development can still be fast and efficient, but engineers can still choose to build for production locally but get slower process as a result.
This is more a question than a bug report. Why did you choose SystemJS for development and testing, and Rollup for production instead of just using Rollup in all the environments (with different configurations)? It seems harder to maintain with two different module loaders.