finsweet / developer-starter

Developer starter template for Finsweet projects.
https://www.finsweet.com/
187 stars 67 forks source link

Build fails with GSAP #38

Closed samsostudios closed 1 year ago

samsostudios commented 1 year ago

I am getting a failed build when using the dev starter and installing GSAP. First I created a copy of this starter, ran 'pnpm add gsap', imported gsap to index.ts and initialized a timeline. When I run 'pnpm build' the build file is populated with looks like and error (see screenshot).

Screenshot 2023-03-09 at 8 49 26 PM

I am assuming this is something the to do with build.js file?

Anyone have ideas here?

alexiglesias93 commented 1 year ago

@samsostudios can you provide a link to a public repository that reproduces this issue?

samsostudios commented 1 year ago

@alexiglesias93 https://github.com/samsostudios/fs-2

I am able to reproduce this just by taking a fresh dev starter from FS, then installing and import gsap, then building.

samsostudios commented 1 year ago

@alexiglesias93 Were you able to reproduce?

alexiglesias93 commented 1 year ago

@samsostudios I see you closed the issue, is that because you manage to solve it?