running the latest NextJs' build command while using this library causes the build to fail. I tracked it down to the css required in the dist/index.js file. Would like to propose that the css be imported by the user in their app and not something you require/import within your dist.
See PR.