webpack.prod.js 269 B

123456789101112131415
  1. const merge = require("webpack-merge");
  2. const common = require("./webpack.common.js");
  3. module.exports = merge(common, {
  4. mode: "production",
  5. devtool: "source-map",
  6. output: {
  7. publicPath: "/build/"
  8. },
  9. resolve: {
  10. alias: {
  11. vue: "vue/dist/vue.min.js"
  12. }
  13. }
  14. });