Webpack warnings of export was not found. #239
-
Hey, I was working with Payload and next.js boilerplate to build an e-commerce site(a practice project). I tried to customize the upload to use cloudinary using this approach, but I am getting the following warnings from Webpack. This was working perfectly fine when I experimented with an app created with Here is the link to my repo I am working with. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Um Alright, I figured it out. I had to use |
Beta Was this translation helpful? Give feedback.
Um Alright, I figured it out. I had to use
export default {}
in emptyObject.ts and export all hooks asdefault
fromCloudinaryMediaHooks
. That solved the problem for me.