index.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. 'use strict'
  2. // Template version: 1.3.1
  3. // see http://vuejs-templates.github.io/webpack for documentation.
  4. module.exports = {
  5. dev: {
  6. // Paths
  7. assetsSubDirectory: 'static',
  8. assetsPublicPath: '/',
  9. proxyTable: {
  10. '/': {
  11. target: 'https://agent.bestefoe.com',
  12. secure: true,
  13. changeOrigin: true,
  14. pathRewrite: {
  15. '^/': ''
  16. }
  17. }
  18. },
  19. // Various Dev Server settings
  20. // host: '0.0.0.0', // can be overwritten by process.env.HOST
  21. host: 'localhost', // can be overwritten by process.env.HOST
  22. port: 8000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
  23. autoOpenBrowser: true,
  24. errorOverlay: true,
  25. notifyOnErrors: true,
  26. poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
  27. // Use Eslint Loader?
  28. // If true, your code will be linted during bundling and
  29. // linting errors and warnings will be shown in the console.
  30. useEslint: false,
  31. // If true, eslint errors and warnings will also be shown in the error overlay
  32. // in the browser.
  33. showEslintErrorsInOverlay: false,
  34. /**
  35. * Source Maps
  36. */
  37. // https://webpack.js.org/configuration/devtool/#development
  38. devtool: 'cheap-module-eval-source-map',
  39. // If you have problems debugging vue-files in devtools,
  40. // set this to false - it *may* help
  41. // https://vue-loader.vuejs.org/en/options.html#cachebusting
  42. cacheBusting: true,
  43. cssSourceMap: true
  44. },
  45. }