require.extensions is not supported by webpack. Use a loader instead.
Unanswered
Pacific anchoveta posted this in #help-forum
Pacific anchovetaOP
Hey, everyone.
I'm using a library called
require.extensions is not supported by webpack. Use a loader instead.
The images shows how I import and the warning.
All help/tips would be highly appreciated, guys.
I'm using a library called
nodemailer-express-handlebars in my app/api/contactForm/route.ts to send templated emails. Everything seems to work just fine, both in dev and the build. However, I get this warning in the terminal:require.extensions is not supported by webpack. Use a loader instead.
The images shows how I import and the warning.
All help/tips would be highly appreciated, guys.