vue.config.js 438 B

12345678910111213141516171819202122
  1. const { defineConfig } = require('@vue/cli-service')
  2. const path = require('path')
  3. module.exports = defineConfig({
  4. publicPath: './',
  5. outputDir: 'trans_bigScreen_dist',
  6. assetsDir: 'static',
  7. transpileDependencies: true,
  8. productionSourceMap: false,
  9. configureWebpack: {
  10. resolve: {
  11. alias: {
  12. '@': path.join(__dirname, 'src')
  13. }
  14. }
  15. },
  16. devServer:{
  17. open:true,
  18. port:1890
  19. },
  20. lintOnSave:false
  21. })