Source map geneation for exported Next app #13495
-
Is there an option to get source maps generated for 'next export' ? I would like to enable source map and easy debugging for exported static app that I plan to be served by a Flask server, but I found I can not easily debug and trace my JS code in such a deployment. Any pointers appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
jamesmosier
May 28, 2020
Replies: 1 comment 1 reply
-
You can use next-source-maps in your |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jamesmosier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use next-source-maps in your
next.config.js
to get sourcemaps