import used instead of require for tanstack/reqct-query in next js build #5126
Unanswered
BharathKS77
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to build a next js application .But the built file contains 'import' statement in a JS file .May I know why this happens.
This is in .next/server/pages/_app.js file
((module) => {
module.exports = import("@tanstack/react-query");;
/***/ })
Beta Was this translation helpful? Give feedback.
All reactions