Webpack - MiniCssExtractPlugin doesn't extract file
Note that any imported file is subject to tree shaking. This means if you use something like css-loader in your project and import a CSS file, it needs to be added to the side effect list so it will not be unintentionally dropped in production mode.
Blockquote
in your package.json, add:
"sideEffects": [
'.scss'
]
webpack file-loader does not load background image
Adding esModule: false
inside the url-loader options the image helped me, though I'm not sure why, if someone has the same issue you should try this trick.
Related Topics
Moodle Not Showing CSS and Theme with Linux Server
Style Webkit Scrollbar on Certain State
Can You Reference Images from CSS Without Using Relative Paths
What Is the Rule Behind "CSS 256 Classes Override One Id"
Disable CSS Stylesheet for a Specific Action in Symfony
CSS Transition Max-Height Back to 0 Not Working
Crop an Image to Square Using Percentages and Max Widths
Polymer Core Transitions for Animated Pages with Core List Content
How to Make an Entire Div Clickable with CSS
A:Visited Doesn't Work in Mozilla Firefox
Selector for Even and Odd Level Children
Viewport for Ie10 & 11 Desktop, But Not Mobile
Appbar Overlaps with Other Elements