Webpack4 package hash remains the same, just add mode.

Today we encountered a problem: webpack packaging hash remains the same, but every time you add mode, you can pack hash and change it. Why

    output = {
        path: outputDir,
        filename: "[name].js?[hash]",
        chunkFilename: "[name].js?[hash]"
      }

later found that it would be better without adding mode,

const config = {
  mode: process.env.NODE_ENV || "production",
  devtool: "-sharpcheap-module-eval-source-map",
   // ...
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38046-2c0e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38046-2c0e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?