quasar.config.js.temporary.compiled.1773333788777.mjs 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /* eslint-disable */
  2. /**
  3. * THIS FILE IS GENERATED AUTOMATICALLY.
  4. * 1. DO NOT edit this file directly as it won't do anything.
  5. * 2. EDIT the original quasar.config file INSTEAD.
  6. * 3. DO NOT git commit this file. It should be ignored.
  7. *
  8. * This file is still here because there was an error in
  9. * the original quasar.config file and this allows you to
  10. * investigate the Node.js stack error.
  11. *
  12. * After you fix the original file, this file will be
  13. * deleted automatically.
  14. **/
  15. // quasar.config.js
  16. import { defineConfig } from "@quasar/app-vite/wrappers";
  17. import { fileURLToPath } from "node:url";
  18. var __quasar_inject_import_meta_url__ = "file:///home/softpar/projetos/spas/sfp_front_vue_diarista_cliente/quasar.config.js";
  19. var quasar_config_default = defineConfig((ctx) => {
  20. return {
  21. bin: {
  22. linuxAndroidStudio: "/snap/bin/android-studio"
  23. },
  24. // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
  25. // preFetch: true,
  26. // app boot file (/src/boot)
  27. // --> boot files are part of "main.js"
  28. // https://v2.quasar.dev/quasar-cli-vite/boot-files
  29. boot: [
  30. "axios",
  31. "i18n",
  32. "defaultPropsComponents"
  33. // "socket.io",
  34. ],
  35. // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
  36. css: ["app.scss"],
  37. // https://github.com/quasarframework/quasar/tree/dev/extras
  38. extras: [
  39. // 'ionicons-v4',
  40. "mdi-v7",
  41. // 'fontawesome-v6',
  42. // 'eva-icons',
  43. // 'themify',
  44. // "line-awesome",
  45. // 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both!
  46. "roboto-font",
  47. // optional, you are not bound to it
  48. "material-icons"
  49. // optional, you are not bound to it
  50. ],
  51. // Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build
  52. build: {
  53. target: {
  54. browser: ["es2022", "firefox115", "chrome115", "safari14"],
  55. node: "node22"
  56. },
  57. vueRouterMode: "history",
  58. // available values: 'hash', 'history'
  59. // vueRouterBase,
  60. // vueDevtools,
  61. // vueOptionsAPI: false,
  62. // rebuildCache: true, // rebuilds Vite/linter/etc cache on startup
  63. // publicPath: '/',
  64. // analyze: true,
  65. env: {
  66. API_URL: ctx.dev ? "http://localhost:3000" : "http://localhost:3000",
  67. PASSWORD: ctx.dev ? "S@ft2080." : "",
  68. WEBSOCKET_API: ctx.dev ? "http://localhost:4321/" : "http://localhost:4321/",
  69. WEBSOCKET_PATH: ctx.dev ? "/socket.io" : "/socket.io",
  70. WEBSOCKET_ROOM: ctx.dev ? "LARAVEL" : "LARAVEL",
  71. WEBSOCKET_API_KEY: "7wArC/kl0nTbt4zBu0agw.NXLyjA96I6x1XmBcuokwPqfo3/CIxzqYw.PTthh5eqa08Uf4ubFlOqatpShoz1CRRID9pZReEFvBk3il6E9u"
  72. },
  73. // rawDefine: {}
  74. // ignorePublicFolder: true,
  75. // minify: false,
  76. // polyfillModulePreload: true,
  77. // distDir
  78. // extendViteConf (viteConf) {},
  79. // viteVuePluginOptions: {},
  80. vitePlugins: [
  81. [
  82. "@intlify/unplugin-vue-i18n/vite",
  83. {
  84. include: [fileURLToPath(new URL("./src/i18n", __quasar_inject_import_meta_url__))],
  85. ssr: ctx.modeName === "ssr"
  86. }
  87. ],
  88. [
  89. "vite-plugin-checker",
  90. {
  91. eslint: {
  92. lintCommand: 'eslint -c ./eslint.config.js "./src*/**/*.{js,mjs,cjs,vue}"',
  93. useFlatConfig: true
  94. }
  95. },
  96. { server: false }
  97. ]
  98. ]
  99. },
  100. // Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
  101. devServer: {
  102. // https: true
  103. open: true
  104. // opens browser window automatically
  105. },
  106. // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
  107. framework: {
  108. lang: "pt-BR",
  109. config: {
  110. dark: "auto",
  111. notify: {
  112. position: "top-right"
  113. }
  114. },
  115. // iconSet: 'material-icons', // Quasar icon set
  116. // lang: 'en-US', // Quasar language pack
  117. // For special cases outside of where the auto-import strategy can have an impact
  118. // (like functional components as one of the examples),
  119. // you can manually specify Quasar components/directives to be available everywhere:
  120. //
  121. // components: [],
  122. // directives: [],
  123. // Quasar plugins
  124. plugins: ["Dialog", "Notify", "Loading", "Cookies", "Dark"]
  125. },
  126. // animations: 'all', // --- includes all animations
  127. // https://v2.quasar.dev/options/animations
  128. animations: [],
  129. // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#property-sourcefiles
  130. // sourceFiles: {
  131. // rootComponent: 'src/App.vue',
  132. // router: 'src/router/index',
  133. // store: 'src/store/index',
  134. // pwaRegisterServiceWorker: 'src-pwa/register-service-worker',
  135. // pwaServiceWorker: 'src-pwa/custom-service-worker',
  136. // pwaManifestFile: 'src-pwa/manifest.json',
  137. // electronMain: 'src-electron/electron-main',
  138. // electronPreload: 'src-electron/electron-preload'
  139. // bexManifestFile: 'src-bex/manifest.json
  140. // },
  141. // https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
  142. ssr: {
  143. prodPort: 3e3,
  144. // The default port that the production server should use
  145. // (gets superseded if process.env.PORT is specified at runtime)
  146. middlewares: [
  147. "render"
  148. // keep this as last one
  149. ],
  150. // extendPackageJson (json) {},
  151. // extendSSRWebserverConf (esbuildConf) {},
  152. // manualStoreSerialization: true,
  153. // manualStoreSsrContextInjection: true,
  154. // manualStoreHydration: true,
  155. // manualPostHydrationTrigger: true,
  156. pwa: false
  157. // pwaOfflineHtmlFilename: 'offline.html', // do NOT use index.html as name!
  158. // will mess up SSR
  159. // pwaExtendGenerateSWOptions (cfg) {},
  160. // pwaExtendInjectManifestOptions (cfg) {}
  161. },
  162. // https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
  163. pwa: {
  164. workboxMode: "GenerateSW"
  165. // 'GenerateSW' or 'InjectManifest'
  166. // swFilename: 'sw.js',
  167. // manifestFilename: 'manifest.json'
  168. // extendManifestJson (json) {},
  169. // useCredentialsForManifestTag: true,
  170. // injectPwaMetaTags: false,
  171. // extendPWACustomSWConf (esbuildConf) {},
  172. // extendGenerateSWOptions (cfg) {},
  173. // extendInjectManifestOptions (cfg) {}
  174. },
  175. // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-cordova-apps/configuring-cordova
  176. cordova: {
  177. // noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
  178. },
  179. // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
  180. capacitor: {
  181. hideSplashscreen: true
  182. },
  183. // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
  184. electron: {
  185. // extendElectronMainConf (esbuildConf) {},
  186. // extendElectronPreloadConf (esbuildConf) {},
  187. // extendPackageJson (json) {},
  188. // Electron preload scripts (if any) from /src-electron, WITHOUT file extension
  189. preloadScripts: ["electron-preload"],
  190. // specify the debugging port to use for the Electron app when running in development mode
  191. inspectPort: 5858,
  192. bundler: "packager",
  193. // 'packager' or 'builder'
  194. packager: {
  195. // https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
  196. // OS X / Mac App Store
  197. // appBundleId: '',
  198. // appCategoryType: '',
  199. // osxSign: '',
  200. // protocol: 'myapp://path',
  201. // Windows only
  202. // win32metadata: { ... }
  203. },
  204. builder: {
  205. // https://www.electron.build/configuration/configuration
  206. appId: "quasar-skeleton"
  207. }
  208. },
  209. // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-browser-extensions/configuring-bex
  210. bex: {
  211. // extendBexScriptsConf (esbuildConf) {},
  212. // extendBexManifestJson (json) {},
  213. contentScripts: ["my-content-script"]
  214. }
  215. };
  216. });
  217. export {
  218. quasar_config_default as default
  219. };