#HI Can any one tell me how to stop
1 messages · Page 1 of 1 (latest)
Hi @cedar dune. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Can you try mr bot?
Sorry @cedar dune, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
hahaha he doesnt like me 😉
@west mirage Hi Do you know how to stop code compress in next js 13
Let me check the knowledge base for you again. One moment! :books:
Yes, to disable compression in Next.js 13, you can update your next.config.js file with the following configuration:
module.exports = {
compress: false,
}
This will disable gzip compression for rendered content and static files. You can find more information in the Next.js documentation (https://nextjs.org/docs/api-reference/next.config.js/compression).
If you want to disable minification, you can set the swcMinify option to false in your next.config.js file:
module.exports = {
swcMinify: false,
}
This will disable the default SWC minification and use Terser instead. You can find more information in the Next.js documentation (https://nextjs.org/docs/advanced-features/compiler).
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@kindred wing kapa.ai is still learning and improving, please let us how it did by reacting below
@west mirage i already did but still my code showing in one line
Let me check the knowledge base for you again. One moment! :books: