Next.js Discord

Discord Forum

can't use "use client" directive in my external npm package.

Unanswered
Ivory-billed Woodpecker posted this in #help-forum
Open in Discord
Avatar
Ivory-billed WoodpeckerOP
I'm trying to use the "use client" directive in my external npm package and I get this error when using it in my nextjs project.

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.

0 Replies