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?
![image](https://private-user-images.githubusercontent.com/53822027/370111268-1d53e4d7-d22d-4a1f-9076-8df8de299c62.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjk0MDAsIm5iZiI6MTczOTE2OTEwMCwicGF0aCI6Ii81MzgyMjAyNy8zNzAxMTEyNjgtMWQ1M2U0ZDctZDIyZC00YTFmLTkwNzYtOGRmOGRlMjk5YzYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA2MzE0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2NzYyNTIyMmUxMGZmYjYxMTE2OWU4MzYzZWRkMTRjZjk3NDU3YzdiNmYwZDlkNDNiODY0ZjU5NTdjMGU3ZjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Y3smODFaO5ofx70AtbPW1CvvIzrw5B-agLuI72uVkY4)
I appreciate your help.
This is my example screenshot
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions