25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

webpack.prod.js 279 B

123456789
  1. const merge = require("webpack-merge");
  2. const common = require("./webpack.common.js");
  3. const TerserPlugin = require("terser-webpack-plugin");
  4. module.exports = merge(common, {
  5. mode: "production",
  6. devtool: "source-map",
  7. optimization: { minimizer: [new TerserPlugin()] }
  8. });