vue.config.js 596 B

1234567891011121314151617
  1. module.exports = {
  2. publicPath: '/',
  3. outputDir: 'dist',
  4. // This is to make all static file requests generated by Vue to go to
  5. // /frontend/*. However, this also ends up creating a `dist/frontend`
  6. // directory and moves all the static files in it. The physical directory
  7. // and the URI for assets are tightly coupled. This is handled in the Go app
  8. // by using stuffbin aliases.
  9. assetsDir: 'frontend',
  10. // Move the index.html file from dist/index.html to dist/frontend/index.html
  11. indexPath: './frontend/index.html',
  12. productionSourceMap: false,
  13. filenameHashing: false,
  14. };