quasar.config.js.temporary.compiled.1780406523031.mjs 8.2 KB

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