Next.js Discord

Discord Forum

local package can't be resolved in next.js

Unanswered
Siamese Crocodile posted this in #help-forum
Open in Discord
Siamese CrocodileOP
i'm developing a package and i was only using react + vite to test my code (playground) and when i tried to use it in next.js it told me that the package can't be resolved

1 Reply

Siamese CrocodileOP
i'm using tsup to bundle my code and here is the config im using