angular-bootloader icon indicating copy to clipboard operation
angular-bootloader copied to clipboard

Question: Vendor file

Open dbabaioff opened this issue 9 years ago • 1 comments

If I'm splitting my js files into 2 groups - one is the vendor file and the other is the app bundle - can I still use this repo? Is possible to add async tag to both script tags? If yes, how the browser will choose which one to load first?

Thanks!

dbabaioff avatar Dec 17 '16 17:12 dbabaioff

This would require more work on webpack. The problem you rub into is not knowing when vender bundle file is done before invoking main bundle. I request that to be on by default in webpack 3 so it won't be a problem in the future. There are a couple of plugins to help with this too

PatrickJS avatar Dec 19 '16 20:12 PatrickJS