webpack.dev.js 234 B

123456789101112
  1. const { merge } = require("webpack-merge");
  2. const common = require("./webpack.common.js");
  3. module.exports = merge(common, {
  4. devtool: "inline-source-map",
  5. mode: "development",
  6. watch: true,
  7. watchOptions: {
  8. ignored: /dist/
  9. }
  10. });