mirror of
https://github.com/anonklub/anonklub.git
synced 2026-01-09 18:07:55 -05:00
* chore: replace `prettier` and `eslint` by `biome` (#421) * chore: replace `prettier` and `eslint` by `biome` * chore: lint * changeset
25 lines
520 B
JavaScript
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)
|