21 lines
544 B
JavaScript
21 lines
544 B
JavaScript
import configBuilder from '../shared/config/next.mjs'
|
|
import i18nConfig from './next-i18next.config.js'
|
|
import { banner } from '../../scripts/banner.mjs'
|
|
import withBundleAnalyzer from '@next/bundle-analyzer'
|
|
|
|
let config = configBuilder('dev')
|
|
config.i18n = i18nConfig.i18n
|
|
|
|
// Say hi
|
|
console.log(banner + '\n')
|
|
|
|
config.eslint = {
|
|
// Ignore linter for now
|
|
ignoreDuringBuilds: true,
|
|
}
|
|
|
|
// To run the bundle analyzer, run:
|
|
// ANALYZE=true yarn build
|
|
if (process.env.ANALYZE) config = withBundleAnalyzer(config)(config)
|
|
|
|
export default config
|