#HI Can any one tell me how to stop

1 messages · Page 1 of 1 (latest)

cedar dune
west mirageBOT
#

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:

cedar dune
#

Can you try mr bot?

west mirageBOT
#

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?

cedar dune
#

hahaha he doesnt like me 😉

kindred wing
#

@west mirage Hi Do you know how to stop code compress in next js 13

west mirageBOT
#

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

kindred wing
#

@west mirage i already did but still my code showing in one line

west mirageBOT
#

Let me check the knowledge base for you again. One moment! :books:

#

Hmm, I don't know enough to give you a confident answer yet. I recommend reviewing the Next.js documentation (https://nextjs.org/docs) for more information on configuration and optimization options.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

Get started with Next.js in the official documentation, and learn more about all our features!