Minimal reproduction case for webpack-contrib/extract-text-webpack-plugin#579
npm install
node_modules/.bin/webpack-dev-server --no-inline
- Open
http://localhost:8080/
in a browser - Open the dev tools
- Notice no errors are logged
- Open the sources pane or network tab and view
main.built.js
- Notice the entry with
module.exports = jQuery;
- Change
public/yesExtract.css
(for example, change the background color) - Notice the app recompiles with no errors
- Refresh the page
- Notice an error is logged to the console
- Notice
main.built.js
no longer has an entry withmodule.exports = jQuery
. Requires that were meant to reach that module incorrectly point to another, which is why the above logged call fails.