webpack.prod.js 290 B

12345678910111213141516
  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. styles: "styles"
  13. }
  14. }
  15. });