textualize/frontend/next.config.js
Joshua Shoemaker 3fafbcc1d6 init commit
2022-12-06 22:13:02 -06:00

14 lines
483 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// Wails' development web server does not support gzip compression,
// turning on gzip compression will result in a blank screen when
// running `wails dev`, so we need to turn off Next.js' gzip compression.
// See <https://nextjs.org/docs/api-reference/next.config.js/compression>.
compress: false,
swcMinify: true,
experimental: { appDir: true },
}
module.exports = nextConfig