Description
Hi
I dont really like the idea of including an already production ready package like fontawesome in src/index.js. Does the script remove css that is not needed? is it run through a closure compiler type of compiler that removes "dead code" etc?
I need jquery, jquery-ui, bootstrapjs and bootstrapcss and fontawesome in my app. By adding it into src/index.js i make sure that all those dependencies is loaded automatically by the bundle.js. But the problem is, I cant really see why I should have to do that. What do I save by doing it like this? what if want to add some default content inside the app div, lets say some nice landing page in case the app takes for ever to load? Or maybe the app wont start? What then?
To summarize:
What is the gain by adding all the static vendor css to index.js? What is the point of adding jquery and jquery-ui (if possible) if all it does is include it in index.js as is (it cant really make it more minimal)?