1
0
Fork 0
freesewing/sites/lab/next.config.mjs

22 lines
558 B
JavaScript
Raw Normal View History

2023-05-19 12:25:00 +02:00
import configBuilder from '../shared/config/next.mjs'
2022-06-17 12:02:09 +02:00
import i18nConfig from './next-i18next.config.js'
2022-06-19 15:10:35 +02:00
import { banner } from '../../scripts/banner.mjs'
//import withBundleAnalyzer from '@next/bundle-analyzer'
2022-06-17 12:02:09 +02:00
2023-05-19 12:25:00 +02:00
let config = configBuilder({ site: 'lab' })
config.i18n = i18nConfig.i18n
2022-06-17 14:12:46 +02:00
2023-05-19 12:25:00 +02:00
// Say hi
console.log(banner + '\n')
2022-08-29 08:29:55 +02:00
2023-05-19 12:25:00 +02:00
config.eslint = {
// Ignore linter for now
ignoreDuringBuilds: true,
2022-06-17 12:02:09 +02:00
}
2023-05-19 12:25:00 +02:00
// To run the bundle analyzer, run:
// ANALYZE=true yarn build
//if (process.env.ANALYZE) config = withBundleAnalyzer(config)(config)
2023-05-19 12:25:00 +02:00
2022-06-17 12:02:09 +02:00
export default config