Ok, without doing transpile: ["gsap"], I got it to work like this. Using require, it imports an object.    let gsap, Back, MorphSVGPlugin; if (process.client) { const gsapModule = require("gsap/dist/gsap"); gsap = gsapModule.default; Back = gsapModule.Back; MorphSVGPlugin = require("gsap/dist/MorphSVGPlugin.js").default; gsap.registerPlugin(MorphSVGPlugin); }   Using transpile: ["gsap"], this worked for me. import { gsap, Back } from "gsap"; import { MorphSVGPlugi
    • Like
    2