diff --git a/examples/react-remove-properties/next.config.js b/examples/react-remove-properties/next.config.js index 7d3aca8225d8..37db77a9c2a5 100644 --- a/examples/react-remove-properties/next.config.js +++ b/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