I wanted to know if it is possible to create a build without the code being modified or minified?
thanks
You could disable minification through the webpack config. config.optimization.minify = false
from the top of my mind.
Please follow the issue template in the future.
I had to use this:
config.optimization.minimizer = []
Adding this code of line in next.config.js to custom webpack config would help:
config.optimization.minimize = false;
Reference: https://webpack.js.org/configuration/optimization/#optimizationminimize
Most helpful comment
I had to use this:
config.optimization.minimizer = []