/
githubmirror
/
OpenAgents
Обзор
Документация
Войти
/
githubmirror
/
OpenAgents
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
frontend/next.config.js
19 строк
438 B
老纪
Update: run with docker compose (#43)
01 ноя 2023, 17:54
Не верифицирован
01 ноя 2023, 17:54
561ba40
Код
Авторство
О чём код?
const { i18n } = require('./next-i18next.config'); const buildWithDocker = process.env.DOCKER === 'true'; /** @type {import('next').NextConfig} */ const nextConfig = { i18n, reactStrictMode: false, webpack(config, { isServer, dev }) { config.experiments = { asyncWebAssembly: true, layers: true, }; return config; }, output: buildWithDocker ? 'standalone' : undefined, }; module.exports = nextConfig;