Files
anonklub/ui/next.config.mjs
sripwoud 94eac87e5c chore: replace prettier and eslint by biome (#422)
* chore: replace `prettier` and `eslint` by `biome` (#421)

* chore: replace `prettier` and `eslint` by `biome`

* chore: lint

* changeset
2024-03-30 22:15:54 +00:00

25 lines
520 B
JavaScript

import million from 'million/compiler'
/** @type {import('next').NextConfig} */
const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
reactStrictMode: true,
webpack: (config, options) => {
if (!options.isServer) {
config.resolve.fallback.fs = false
config.resolve.fallback.readline = false
}
config.experiments = { asyncWebAssembly: true, layers: true }
return config
},
}
const millionConfig = {
auto: true,
}
export default million.next(nextConfig, millionConfig)