Switch to swc compiler, no more babel

This commit is contained in:
Dustin Brett
2022-03-01 21:02:05 -08:00
parent 80ee685b52
commit 75c727d58d
3 changed files with 7 additions and 16 deletions

View File

@@ -4,10 +4,16 @@
* @type {import('next').NextConfig}
* */
const nextConfig = {
compiler: {
reactRemoveProperties: true,
removeConsole: true,
styledComponents: true,
},
experimental: {
reactRoot: true,
},
reactStrictMode: true,
swcMinify: true,
};
module.exports = nextConfig;