Jump to content
Search Community

phyllisstein

Premium
  • Posts

    1
  • Joined

  • Last visited

Everything posted by phyllisstein

  1. Hate to bump an old thread, but in case anyone else is led here by Google, the trick is to exclude GSAP from Vite's SSR bundler. This was enabled by default in SvelteKit and gave me a greasy headache as well. Here's the fix: // vite.config.ts import {defineConfig} from 'vite' export default defineConfig({ // --- ✁ snip ssr: { noExternal: [ 'gsap', '@gsap/shockingly', ], }, })
×
×
  • Create New...