How to remove "require.extensions is not supported by webpack. Use a loader instead" warning in Next.js project? #2047
Unanswered
melodyxpot
asked this question in
Q&A
Replies: 1 comment
-
You can't remove this warning, since handlebars registers the
It's a feature. But it's deprecated, that's why webpack doesn't support it anymore. We will probably remove it in handlebars v5. You can try https://webpack.js.org/configuration/other-options/#ignorewarnings to remove the warning. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got the warning when I build my next js project after I installed handlebars and started to use it. How can I remove this warning?
I appreciate your help.
This is my example screenshot
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions