Skip to content

Commit 809303b

Browse files
authored
Remove swcMinify option from example configs (vercel#43012)
SWC minification is now [enabled by default](https://nextjs.org/docs/advanced-features/compiler) in the Next.js compiler. ## Documentation / Examples - [X] Make sure the linting passes by running `pnpm build && pnpm lint` - [X] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
1 parent 295f15e commit 809303b

File tree

5 files changed

+0
-10
lines changed

5 files changed

+0
-10
lines changed
-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
reactStrictMode: true,
4-
swcMinify: true,
54
}
65

76
module.exports = nextConfig

examples/with-grafbase/next.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
reactStrictMode: true,
4-
swcMinify: true,
54
experimental: {
65
appDir: true,
76
},

examples/with-postgres/next.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
reactStrictMode: true,
4-
swcMinify: true,
54
}
65

76
module.exports = nextConfig

examples/with-tigris/next.config.js

-6
This file was deleted.

examples/with-turbopack/next.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
4-
swcMinify: true,
54
experimental: {
65
// Required:
76
appDir: true,

0 commit comments

Comments
 (0)