The problem of css Code Positioning of webpack4 in chrome

  1. webpack4 must use MiniCssExtractPlugin when using sourceMap in css-loader
  2. but using MiniCssExtractPlugin will cause the page not to refresh when the css is modified
  3. there is no way to see the location of the css code in the file in the chrome method without using sourceMap

has anyone encountered this problem

Mar.02,2021

  1. sourceMap can be supported without MiniCssExtractPlugin
  2. do not configure MiniCssExtractPlugin in the development environment

using MiniCssExtractPlugin causes the page not to refresh when css is modified?
Why can I refresh

Menu