-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
Hello,
I was using an old version of splittype and recently migrated to next js.
I tried to use your new version import SplitType from 'split-type' but I get the following error:
Server Error
SyntaxError: Unexpected token 'export'
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Source
external%20%22split-type%22 (1:0) @ eval
> 1 | module.exports = require("split-type");Any idea how to solve this?