configured webpack4, page error window is not defined when scss file is introduced in js
  
the relevant loader code is as follows:
{
    test: /\.(css|scss)$/,
    use: [
      "style-loader",
      "css-loader",
      "sass-loader"
    ]
      },
      {
    test: /\.(png|svg|jpg|gif)$/,
    use: [
      "file-loader"
    ]
}comment out style-loader, the page will not report an error, but there is no corresponding style
