88// Configuration for your app
99// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
1010
11-
1211const { configure } = require ( 'quasar/wrappers' ) ;
1312
14-
1513module . exports = configure ( function ( /* ctx */ ) {
1614 return {
1715 // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
@@ -20,15 +18,10 @@ module.exports = configure(function (/* ctx */) {
2018 // app boot file (/src/boot)
2119 // --> boot files are part of "main.js"
2220 // https://v2.quasar.dev/quasar-cli-vite/boot-files
23- boot : [
24-
25-
26- ] ,
21+ boot : [ ] ,
2722
2823 // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
29- css : [
30- 'app.scss'
31- ] ,
24+ css : [ 'app.scss' ] ,
3225
3326 // https://github.com/quasarframework/quasar/tree/dev/extras
3427 extras : [
@@ -47,8 +40,8 @@ module.exports = configure(function (/* ctx */) {
4740 // Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build
4841 build : {
4942 target : {
50- browser : [ 'es2019' , 'edge88' , 'firefox78' , 'chrome87' , 'safari13.1' ] ,
51- node : 'node20'
43+ browser : [ 'es2019' , 'edge88' , 'firefox78' , 'chrome87' , 'safari13.1' ] ,
44+ node : 'node20' ,
5245 } ,
5346
5447 vueRouterMode : 'history' , // available values: 'hash', 'history'
@@ -71,21 +64,25 @@ module.exports = configure(function (/* ctx */) {
7164 // viteVuePluginOptions: {},
7265
7366 vitePlugins : [
74- [ 'vite-plugin-checker' , {
75- vueTsc : {
76- tsconfigPath : 'tsconfig.vue-tsc.json'
67+ [
68+ 'vite-plugin-checker' ,
69+ {
70+ vueTsc : {
71+ tsconfigPath : 'tsconfig.vue-tsc.json' ,
72+ } ,
73+ eslint : {
74+ lintCommand : 'eslint "./**/*.{js,ts,mjs,cjs,vue}"' ,
75+ } ,
7776 } ,
78- eslint : {
79- lintCommand : 'eslint "./**/*.{js,ts,mjs,cjs,vue}"'
80- }
81- } , { server : false } ]
82- ]
77+ { server : false } ,
78+ ] ,
79+ ] ,
8380 } ,
8481
8582 // Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
8683 devServer : {
8784 // https: true
88- open : true // opens browser window automatically
85+ open : true , // opens browser window automatically
8986 } ,
9087
9188 // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
@@ -103,7 +100,7 @@ module.exports = configure(function (/* ctx */) {
103100 // directives: [],
104101
105102 // Quasar plugins
106- plugins : [ ]
103+ plugins : [ ] ,
107104 } ,
108105
109106 // animations: 'all', // --- includes all animations
@@ -125,7 +122,7 @@ module.exports = configure(function (/* ctx */) {
125122 // https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
126123 ssr : {
127124 // ssrPwaHtmlFilename: 'offline.html', // do NOT use index.html as name!
128- // will mess up SSR
125+ // will mess up SSR
129126
130127 // extendSSRWebserverConf (esbuildConf) {},
131128 // extendPackageJson (json) {},
@@ -136,11 +133,11 @@ module.exports = configure(function (/* ctx */) {
136133 // manualPostHydrationTrigger: true,
137134
138135 prodPort : 3000 , // The default port that the production server should use
139- // (gets superseded if process.env.PORT is specified at runtime)
136+ // (gets superseded if process.env.PORT is specified at runtime)
140137
141138 middlewares : [
142- 'render' // keep this as last one
143- ]
139+ 'render' , // keep this as last one
140+ ] ,
144141 } ,
145142
146143 // https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
@@ -164,7 +161,7 @@ module.exports = configure(function (/* ctx */) {
164161
165162 // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
166163 capacitor : {
167- hideSplashscreen : true
164+ hideSplashscreen : true ,
168165 } ,
169166
170167 // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
@@ -178,32 +175,28 @@ module.exports = configure(function (/* ctx */) {
178175
179176 packager : {
180177 // https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
181-
182178 // OS X / Mac App Store
183179 // appBundleId: '',
184180 // appCategoryType: '',
185181 // osxSign: '',
186182 // protocol: 'myapp://path',
187-
188183 // Windows only
189184 // win32metadata: { ... }
190185 } ,
191186
192187 builder : {
193188 // https://www.electron.build/configuration/configuration
194189
195- appId : 'frontend'
196- }
190+ appId : 'frontend' ,
191+ } ,
197192 } ,
198193
199194 // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-browser-extensions/configuring-bex
200195 bex : {
201- contentScripts : [
202- 'my-content-script'
203- ] ,
196+ contentScripts : [ 'my-content-script' ] ,
204197
205198 // extendBexScriptsConf (esbuildConf) {}
206199 // extendBexManifestJson (json) {}
207- }
208- }
200+ } ,
201+ } ;
209202} ) ;
0 commit comments