defaultConfig.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. export default {
  2. build: {
  3. distDir: '../dist',
  4. devPath: 'http://localhost:4000',
  5. beforeDevCommand: '',
  6. beforeBuildCommand: ''
  7. },
  8. ctx: {},
  9. tauri: {
  10. embeddedServer: {
  11. active: true
  12. },
  13. bundle: {
  14. active: true,
  15. targets: 'all', // or an array of targets
  16. identifier: 'com.tauri.dev',
  17. icon: ['icons/32x32.png', 'icons/128x128.png', 'icons/128x128@2x.png', 'icons/icon.icns', 'icons/icon.ico'],
  18. resources: [],
  19. externalBin: [],
  20. copyright: '',
  21. category: 'DeveloperTool',
  22. shortDescription: '',
  23. longDescription: '',
  24. deb: {
  25. depends: [],
  26. useBootstrapper: false
  27. },
  28. osx: {
  29. frameworks: [],
  30. minimumSystemVersion: '',
  31. useBootstrapper: false
  32. },
  33. exceptionDomain: ''
  34. },
  35. whitelist: {
  36. all: true
  37. },
  38. window: {
  39. title: 'Tauri App',
  40. width: 800,
  41. height: 600,
  42. resizable: true,
  43. fullscreen: false
  44. },
  45. security: {
  46. csp: "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
  47. },
  48. inliner: {
  49. active: true
  50. }
  51. }
  52. }