Just wanted to chime in here, I have the same problem with the defaultView, using next-plugin-transpile-modules. I also have been using @Hossein Rahimis solution, but it's not perfect because it introduces issues with scoping. With next.js you can also dynamically import the plugin with something like   const SplitTextPromise = import("gsap/SplitText");   and then in componentDidMount, wait for the promise to resolve       SplitTextPromise.then(SplitText => {       c
    • Like
    1