SyntaxError: Unexpected token 'export' on NPM import in GSAP Posted September 20, 2021 I had this problem with Nuxt.js, and by adding : build: { transpile: ['gsap'] } in my nuxt.config.js file it worked correctly. 1 2
SyntaxError: Unexpected token 'export' on NPM import
in GSAP
Posted
I had this problem with Nuxt.js, and by adding :
in my nuxt.config.js file it worked correctly.