rsnext/packages
Sukka 5c88484f04
fix(config): only warn experimental feature when used (#37755)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->

```js
// next.config.js
module.exports = {
  experimental: {
    legacyBrowsers: false,
    sharedPool: true,
    newNextLinkBehavior: false
  }
}
```

With the current implementation, using the config above will warn the usage of experimental features. However, those are the preset values that are defined in `defaultConfig` which means actually no experimental feature has been enabled at all.

The PR changes to only check if experimental features are actually enabled (have different values than the ones defined in `defaultConfig`).
2022-06-18 07:44:37 -04:00
..
create-next-app v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
eslint-config-next v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
eslint-plugin-next v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
next fix(config): only warn experimental feature when used (#37755) 2022-06-18 07:44:37 -04:00
next-bundle-analyzer v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
next-codemod v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
next-env v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
next-mdx v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
next-plugin-storybook v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
next-polyfill-module v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
next-polyfill-nomodule v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
next-swc v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
react-dev-overlay v12.1.7-canary.41 2022-06-17 10:44:25 -05:00
react-refresh-utils v12.1.7-canary.41 2022-06-17 10:44:25 -05:00