Want to import styles in the right order in webpack? The problem is that I have to use the ExtractTextPlugin plugin also for the css part in my loader settings:
1 2 3 4 5 6 7 8 9 10 11 12 13 | { test: /\.less$/, loader: ExtractTextPlugin.extract( 'css?sourceMap!' + 'less?sourceMap' ) }, { test: /\.css$/, loader: ExtractTextPlugin.extract( 'css' ) }, |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.