1 min readSep 21, 2017
You should have a look at this: https://webpack.js.org/guides/asset-management/.
webpack allows you to import any file you just need to configure a loader for the file you are trying to import. When it builds using the production config, all the CSS/LESS is output to a separate CSS bundle from the JS.