Files
eveship.fit/next.config.js
Patric Stout 92649850dc chore: disable StrictMode, as it does more harm than good (#63)
For example, swapping modules in StrictMode doesn't work,
as it swaps twice, undoing the change.
2024-05-25 10:37:53 +00:00

23 lines
429 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
distDir: "dist",
reactStrictMode: false,
experimental: {
webpackBuildWorker: true,
},
images: {
unoptimized: true,
},
webpack: (config) => {
config.output.webassemblyModuleFilename = 'static/wasm/[modulehash].wasm'
config.experiments.asyncWebAssembly = true;
return config;
},
}
module.exports = nextConfig