Fix lazy loading of modules
Lazy loading was broken because some of the modules were (unnecessarily) imported by the AppModule. Those imports have been removed. Additional adjustments were made to support this change.
Closes: #720 (closed)
Build result
Before (85c3f416)
Initial Chunk Files | Names | Size
main-es5.60baf1ad250cf1b828b0.js | main | 2.02 MB
main-es2015.60baf1ad250cf1b828b0.js | main | 1.82 MB
styles.fe3275ef41fbb072ac6c.css | styles | 178.87 kB
polyfills-es5.03546861511749f3ae31.js | polyfills-es5 | 131.77 kB
polyfills-es2015.dd0a74009d635c7d1ce9.js | polyfills | 36.12 kB
runtime-es2015.839581cd6d7717cb5ec3.js | runtime | 2.23 kB
runtime-es5.839581cd6d7717cb5ec3.js | runtime | 2.23 kB
| Initial ES5 Total | 2.33 MB
| Initial ES2015 Total | 2.04 MB
Lazy Chunk Files | Names | Size
5-es5.00f16af62b918104c37f.js | - | 52.87 kB
5-es2015.00f16af62b918104c37f.js | - | 47.59 kB
Build at: 2021-05-10T12:06:11.514Z - Hash: f9cc012d4e381d6e2550 - Time: 77148ms
After
Initial Chunk Files | Names | Size
main-es5.e8e5add3743e9f6afe37.js | main | 1.56 MB
main-es2015.e8e5add3743e9f6afe37.js | main | 1.39 MB
styles.fe3275ef41fbb072ac6c.css | styles | 178.87 kB
polyfills-es5.7c9aeb5dd25c6cef7480.js | polyfills-es5 | 131.77 kB
polyfills-es2015.b2b818ac06a28084fc97.js | polyfills | 36.12 kB
runtime-es2015.bfe24ac82739cad6413a.js | runtime | 2.36 kB
runtime-es5.bfe24ac82739cad6413a.js | runtime | 2.36 kB
| Initial ES5 Total | 1.87 MB
| Initial ES2015 Total | 1.61 MB
Lazy Chunk Files | Names | Size
2-es5.2bfee96057dfc9516204.js | - | 241.57 kB
2-es2015.2bfee96057dfc9516204.js | - | 217.49 kB
9-es5.8e82f06cda1b6fcbf73c.js | - | 182.62 kB
9-es2015.8e82f06cda1b6fcbf73c.js | - | 174.33 kB
10-es5.75c3ea21beeae1da2d1d.js | - | 52.88 kB
10-es2015.75c3ea21beeae1da2d1d.js | - | 47.59 kB
8-es5.5ed3b110875ec58b70e7.js | - | 41.80 kB
8-es2015.5ed3b110875ec58b70e7.js | - | 34.94 kB
7-es5.61b92a54331c765ef9a8.js | - | 20.81 kB
7-es2015.61b92a54331c765ef9a8.js | - | 17.66 kB
common-es5.1a7bd9e1636bf4a53578.js | common | 6.21 kB
common-es2015.1a7bd9e1636bf4a53578.js | common | 4.59 kB
Build at: 2021-05-11T16:35:19.761Z - Hash: 705fee021e9d18e299b0 - Time: 67019ms