[Docs] Update react-remove-properties example (#40307)
Hi 👋 Based on https://nextjs.org/docs/advanced-features/compiler#remove-react-properties, this is not experimental but lives under `compiler` now. ## Documentation / Examples - [x] Make sure the linting passes by running pnpm lint - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
This commit is contained in:
parent
aa5be3ff64
commit
34fa5f8535
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
module.exports = {
|
||||
experimental: {
|
||||
compiler: {
|
||||
reactRemoveProperties: true,
|
||||
// Or, specify a custom list of regular expressions to match properties to remove.
|
||||
// The regexes defined here are processed in Rust so the syntax is different from
|
||||
|
|
Loading…
Reference in a new issue