hurricane/security_camera/resources/cloud_server/public/quasar.conf.js

// Configuration for your app
const path = require('path')
module.exports = function (ctx) {
return {
// app boot file (/src/boot)
// --> boot files are part of "main.js"
boot: [
'axios',
'firebase',
'logger',
'gmaps',
'gcharts'
],
css: [
'app.styl'
],
extras: [
'fontawesome-v5'
],
framework: {
all: 'auto',
// Quasar plugins
plugins: [
'Notify',
'Dialog'
],
config: {
loading: {
messageColor: 'primary',
spinnerColor: 'primary'
}
},
iconSet: 'fontawesome-v5'
// lang: 'de' // Quasar language
},
supportIE: false,
build: {
scopeHoisting: true,
// vueRouterMode: 'history',
// vueCompiler: true,
// gzip: true,
// analyze: true,
// extractCSS: false,
extendWebpack (cfg) {
cfg.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /node_modules/
})
cfg.resolve.alias = {
...cfg.resolve.alias, // This adds the existing alias
// Add you own alias like this
store: path.resolve(__dirname, 'src/store/index.js'),
helpers: path.resolve(__dirname, 'src/helpers'),
firebaseConfig: path.resolve(__dirname, '../functions/config')
}
}
},
devServer: {
// https: true,
// port: 8080,
open: true // opens browser window automatically
},
// animations: 'all' --- includes all animations
animations: ['slideInLeft', 'slideOutRight'],
ssr: {
pwa: false
}
}
}