To reproduce this bug:
npm install
npx webpack-dev-server
- open http://localhost:8080
- note that the box on the page is red - because app.css sets it to be red and is imported after leaflet.css
- uncomment the
maxSize
parameter in webpack.config.js ctrl+c
npx webpack-dev-server
- open http://localhost:8080
- note that the box on the page is grey - app.css is being loaded first, and then overriden by leaflet.css