Require the css file of a package using webpack
Recently I found myself wanting to use the react-select package and realized that I need to include the css that was present in its dist folder.
In order to directly use a file located at
node_modules/react-select/dist/react-select.css, I added the following line to my own application’s app.css file
@import url('~react-select/dist/react-select.css'); ... ... All my other css ...