Skip to content

Commit

Permalink
Remove swcMinify option from example configs (#43012)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
maxproske committed Nov 16, 2022
1 parent 295f15e commit 809303b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion examples/with-ant-design/next.config.js
@@ -1,7 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
}

module.exports = nextConfig
1 change: 0 additions & 1 deletion examples/with-grafbase/next.config.js
@@ -1,7 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
experimental: {
appDir: true,
},
Expand Down
1 change: 0 additions & 1 deletion examples/with-postgres/next.config.js
@@ -1,7 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
}

module.exports = nextConfig
6 changes: 0 additions & 6 deletions examples/with-tigris/next.config.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/with-turbopack/next.config.js
@@ -1,7 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
swcMinify: true,
experimental: {
// Required:
appDir: true,
Expand Down

0 comments on commit 809303b

Please sign in to comment.