Skip to content

Commit 8d575f6

Browse files
authored
clean up quasar.conf.js
1 parent 7fac6f9 commit 8d575f6

1 file changed

Lines changed: 1 addition & 119 deletions

File tree

quasar.conf.js

Lines changed: 1 addition & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -121,124 +121,6 @@ module.exports = configure(function (ctx) {
121121

122122
// animations: 'all', // --- includes all animations
123123
// https://v2.quasar.dev/options/animations
124-
animations: [],
125-
126-
// https://v2.quasar.dev/quasar-cli/developing-ssr/configuring-ssr
127-
ssr: {
128-
pwa: false,
129-
130-
// manualStoreHydration: true,
131-
// manualPostHydrationTrigger: true,
132-
133-
prodPort: 3000, // The default port that the production server should use
134-
// (gets superseded if process.env.PORT is specified at runtime)
135-
136-
maxAge: 1000 * 60 * 60 * 24 * 30,
137-
// Tell browser when a file from the server should expire from cache (in ms)
138-
139-
chainWebpackWebserver (/* chain */) {
140-
//
141-
},
142-
143-
middlewares: [
144-
ctx.prod ? 'compression' : '',
145-
'render' // keep this as last one
146-
]
147-
},
148-
149-
// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
150-
pwa: {
151-
workboxPluginMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
152-
workboxOptions: {}, // only for GenerateSW
153-
154-
// for the custom service worker ONLY (/src-pwa/custom-service-worker.[js|ts])
155-
// if using workbox in InjectManifest mode
156-
chainWebpackCustomSW (/* chain */) {
157-
//
158-
},
159-
160-
manifest: {
161-
name: 'cffinit v2',
162-
short_name: 'cffinit',
163-
description: 'A webpage to generate Citation File Format file.',
164-
display: 'standalone',
165-
orientation: 'portrait',
166-
background_color: '#ffffff',
167-
theme_color: '#027be3',
168-
icons: [
169-
{
170-
src: 'icons/icon-128x128.png',
171-
sizes: '128x128',
172-
type: 'image/png'
173-
},
174-
{
175-
src: 'icons/icon-192x192.png',
176-
sizes: '192x192',
177-
type: 'image/png'
178-
},
179-
{
180-
src: 'icons/icon-256x256.png',
181-
sizes: '256x256',
182-
type: 'image/png'
183-
},
184-
{
185-
src: 'icons/icon-384x384.png',
186-
sizes: '384x384',
187-
type: 'image/png'
188-
},
189-
{
190-
src: 'icons/icon-512x512.png',
191-
sizes: '512x512',
192-
type: 'image/png'
193-
}
194-
]
195-
}
196-
},
197-
198-
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
199-
cordova: {
200-
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
201-
},
202-
203-
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
204-
capacitor: {
205-
hideSplashscreen: true
206-
},
207-
208-
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
209-
electron: {
210-
bundler: 'packager', // 'packager' or 'builder'
211-
212-
packager: {
213-
// https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
214-
215-
// OS X / Mac App Store
216-
// appBundleId: '',
217-
// appCategoryType: '',
218-
// osxSign: '',
219-
// protocol: 'myapp://path',
220-
221-
// Windows only
222-
// win32metadata: { ... }
223-
},
224-
225-
builder: {
226-
// https://www.electron.build/configuration/configuration
227-
228-
appId: 'cffinitv2'
229-
},
230-
231-
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
232-
chainWebpack (/* chain */) {
233-
// do something with the Electron main process Webpack cfg
234-
// extendWebpackMain also available besides this chainWebpackMain
235-
},
236-
237-
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
238-
chainWebpackPreload (/* chain */) {
239-
// do something with the Electron main process Webpack cfg
240-
// extendWebpackPreload also available besides this chainWebpackPreload
241-
}
242-
}
124+
animations: []
243125
}
244126
})

0 commit comments

Comments
 (0)