vue.config.js 401 B

1234567891011121314151617181920212223242526
  1. module.exports = {
  2. publicPath: "/",
  3. lintOnSave: true,
  4. productionSourceMap: false,
  5. parallel: require("os").cpus().length > 1,
  6. css: {
  7. sourceMap: false,
  8. },
  9. devServer: {
  10. port: 9100,
  11. open: false,
  12. compress: false,
  13. overlay: {
  14. warnings: false,
  15. errors: true,
  16. },
  17. disableHostCheck: true,
  18. },
  19. configureWebpack: () => {
  20. return {
  21. optimization: {
  22. minimize: true
  23. },
  24. };
  25. },
  26. };