/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
errors/minification-disabled.mdx
16 строк
646 B
Delba de Oliveira
docs: Migrate error messages to MDX and App Router. (#52038)
05 июл 2023, 16:11
Не верифицирован
05 июл 2023, 16:11
44d1a1c
Код
Авторство
О чём код?
--- title: Minification Disabled in Production --- ## Why This Error Occurred Code optimization has been disabled for your **production build**. The `optimization.minimize` or `optimization.minimizer` was incorrectly overridden in `next.config.js`. This severely degrades your application's performance at runtime. It can also result in server-side-only code being downloaded by your users. ## Possible Ways to Fix It Be sure your `next.config.js` has not modified `optimization.minimize` or `optimization.minimizer`. You can file an issue on our GitHub if you do not understand why minification is being disabled by your `next.config.js`.