a GUI for prismedia, using Electron.
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.

24 lines
588 B

  1. module.exports = {
  2. mode: 'spa',
  3. head: {title: 'prismediatoid'}, // Headers of the page
  4. loading: false, // Disable default loading bar
  5. build: {
  6. extend (config, { isDev, isClient }) {
  7. if (isDev && isClient) {
  8. // Run ESLint on save
  9. config.module.rules.push({
  10. enforce: 'pre',
  11. test: /\.(js|vue)$/,
  12. loader: 'eslint-loader',
  13. exclude: /(node_modules)/
  14. })
  15. }
  16. // Extend only webpack config for client-bundle
  17. if (isClient) { config.target = 'electron-renderer' }
  18. }
  19. },
  20. dev: process.env.NODE_ENV === 'DEV',
  21. css: [
  22. '@/assets/css/global.css'
  23. ]
  24. }