You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vue.config.js 375B

123456789101112131415161718192021
  1. module.exports = {
  2. assetsDir: 'static',
  3. filenameHashing: false,
  4. productionSourceMap: false,
  5. configureWebpack:{
  6. resolve:{
  7. alias: {
  8. '#': require('path').join(__dirname,'public'),
  9. }
  10. }
  11. },
  12. chainWebpack:config => {
  13. config.plugins.delete('prefetch');
  14. config.optimization.splitChunks({
  15. automaticNameDelimiter: '.'
  16. });
  17. },
  18. css: {
  19. sourceMap: false
  20. }
  21. };