Do you want to request a feature or report a bug?
What is the current behavior?
Given the following config, which has a “styles” entry, that points to a “scss” file: https://gist.github.com/MrCroft/9a1b1039ab44e5a4bb829abb663f85bb#file-webpack-config-js
Webpack generates a
styles.min.css file in the
dist/css folder, which is exactly what is desired.
But it also creates a
styles.bundle.js file inside the
dist/ folder – which isn’t needed.
What is the expected behavior?
If an entry is a file (or an array of files) that is treated by a plugin (in this case – the “extract-text-webpack-plugin”), with the plugin generating the output, there shouldn’t exist a
styles.bundle.js file in addition to the
If this is a feature request, what is motivation or use case for changing the behavior?
I’m not sure if this would fall under the “feature request” or under the “bug” category. I’ve filled it as a “bug”.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
OS: Windows 10