angular-router-loader icon indicating copy to clipboard operation
angular-router-loader copied to clipboard

Ability to specify sync option in loader options

Open Swiftwork opened this issue 6 years ago • 1 comments
trafficstars

The loader works well for my team, but we find that need to have the ability to disable lazy loading from the config file. I.e. to be able to set the sync=true flag from the loader options. The functionality would be great from a configuration perspective where different environments might require different build options. The flag would in this case set all lazy loaded routes to synchronous. Keep up the great work!

Kind regards Swiftwork

Swiftwork avatar Nov 27 '18 12:11 Swiftwork

Sounds good to me. Would you like to put in a PR for this?

brandonroberts avatar Dec 10 '18 18:12 brandonroberts