Skip to content

Commit

Permalink
[Docs] Update react-remove-properties example (#40307)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Will956 committed Sep 7, 2022
1 parent aa5be3f commit 34fa5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/react-remove-properties/next.config.js
@@ -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
Expand Down

0 comments on commit 34fa5f8

Please sign in to comment.