index.js 676 B

12345678910111213141516171819202122232425262728293031
  1. // see http://vuejs-templates.github.io/webpack for documentation.
  2. 'use strict'
  3. const path = require('path')
  4. module.exports = {
  5. dev: {
  6. / Paths
  7. assetsSubDirectory: 'static',
  8. assetsPublicPath: '/',
  9. proxyTable: {},
  10. // Various Dev Server settings
  11. host: 'localhost',
  12. port: 8080,
  13. // skipping other options as they are only convenience features
  14. },
  15. build: {
  16. // Template for index.html
  17. index: path.resolve(__dirname, '../dist/index.html'),
  18. // Paths
  19. assetsRoot: path.resolve(__dirname, '../dist'),
  20. assetsSubDirectory: 'static',
  21. assetsPublicPath: '/',
  22. productionSourceMap: true,
  23. // skipping the rest ...
  24. },
  25. }