DEV Community

PoomariMurugan
PoomariMurugan

Posted on

Need to minify js file in next js

Hi,

We are developing website using next js. I have two js files. It's for janrain integration. It's not a react component. So I kept in static folder. Normally static folder copied on build folder after build. Now I need to minify this two js files and move to build folder. How can I do this in next js?

Thanks in advance.

Top comments (0)