vercel.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "buildCommand": "pnpm run build",
  3. "devCommand": "pnpm run dev",
  4. "rewrites": [
  5. {
  6. "source": "/stats/js/script.js",
  7. "destination": "https://plausible.io/js/script.js"
  8. },
  9. {
  10. "source": "/stats/api/event",
  11. "destination": "https://plausible.io/api/event"
  12. },
  13. {
  14. "source": "/(.*)",
  15. "destination": "/error-404.html"
  16. }
  17. ],
  18. "redirects": [
  19. {
  20. "source": "/docs",
  21. "destination": "https://tabler.io/docs",
  22. "permanent": true
  23. },
  24. {
  25. "source": "/docs/:name(colors|typography?).html",
  26. "destination": "https://tabler.io/docs/base/:name",
  27. "permanent": true
  28. },
  29. {
  30. "source": "/docs/:name(alerts|autosize|avatars|badges|breadcrumb|buttons|cards|carousel|charts|countup|datagrid|divider|dropdowns|dropzone|empty|icons|inline-player|modals|placeholder|popover|progress|progressbg|range-slider|ribbons|spinners|statuses|steps|switch-icon|tables|tabs|timelines|tinymce|toasts|tooltips|tracking?).html",
  31. "destination": "https://tabler.io/docs/components/:name",
  32. "permanent": true
  33. },
  34. {
  35. "source": "/docs/:name(form-color-check|form-elements|form-fieldset|form-helpers|form-image-check|form-input-mask|form-selectboxes|form-validation?).html",
  36. "destination": "https://tabler.io/docs/forms/:name",
  37. "permanent": true
  38. },
  39. {
  40. "source": "/docs/:name(browser-support|customize|download|faq?).html",
  41. "destination": "https://tabler.io/docs/getting-started/:name",
  42. "permanent": true
  43. },
  44. {
  45. "source": "/docs/:name(page-headers?).html",
  46. "destination": "https://tabler.io/docs/layout/:name",
  47. "permanent": true
  48. },
  49. {
  50. "source": "/docs/:name(flags|payments?).html",
  51. "destination": "https://tabler.io/docs/plugins/:name",
  52. "permanent": true
  53. },
  54. {
  55. "source": "/docs/:name(borders|cursors|interactions?).html",
  56. "destination": "https://tabler.io/docs/plugins/:name",
  57. "permanent": true
  58. }
  59. ]
  60. }