Closed jjcrl closed 2 years ago
I'll take a look at this...
Try importing it from ‘spit-type/dist’ and see if that works.
Thank you !
Still showing errors, Server Error SyntaxError: Unexpected token 'export'
I've tried dynamic imports but had no luck with that either .
Ok thanks.
I'll work on this later today. As a temp solution you could try downgrading to v0.2.5. This bug was probably introduced in the V0.3 update. Prior to that the library was working with next is, as far as I know
@jjcrl I found the problem. Will release a patch version later today that should fix this.
Amazing !! Thank you
@jjcrl Should be fixed in v0.3.2.
Let me know if this worked for you.
updated to v0.3.2 and all working as expected. Thank you 🙏
Issues when importing SplitType within next.js. Errors with ''/node_modules/split-type/umd/index.js''