Timers and other features for Heroes of the Storm
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.
 
 
 
 
 

41 lines
1.4 KiB

  1. 'use strict'
  2. // see http://vuejs-templates.github.io/webpack for documentation.
  3. const path = require('path')
  4. module.exports = {
  5. build: {
  6. env: require('./prod.env'),
  7. index: path.resolve(__dirname, '../dist/index.html'),
  8. assetsRoot: path.resolve(__dirname, '../dist'),
  9. assetsSubDirectory: 'static',
  10. assetsPublicPath: '/',
  11. productionSourceMap: true,
  12. // Gzip off by default as many popular static hosts such as
  13. // Surge or Netlify already gzip all static assets for you.
  14. // Before setting to `true`, make sure to:
  15. // npm install --save-dev compression-webpack-plugin
  16. productionGzip: false,
  17. productionGzipExtensions: ['js', 'css'],
  18. // Run the build command with an extra argument to
  19. // View the bundle analyzer report after build finishes:
  20. // `npm run build --report`
  21. // Set to `true` or `false` to always turn it on or off
  22. bundleAnalyzerReport: process.env.npm_config_report
  23. },
  24. dev: {
  25. env: require('./dev.env'),
  26. port: 8080,
  27. autoOpenBrowser: true,
  28. assetsSubDirectory: 'static',
  29. assetsPublicPath: '/',
  30. proxyTable: {},
  31. // CSS Sourcemaps off by default because relative paths are "buggy"
  32. // with this option, according to the CSS-Loader README
  33. // (https://github.com/webpack/css-loader#sourcemaps)
  34. // In our experience, they generally work as expected,
  35. // just be aware of this issue when enabling this option.
  36. cssSourceMap: true
  37. }
  38. }