We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
__experimentalThemes
1 parent ab4dd1d commit 491d662Copy full SHA for 491d662
packages/gatsby/src/bootstrap/index.js
@@ -88,7 +88,9 @@ module.exports = async (args: BootstrapArgs) => {
88
89
// theme gatsby configs can be functions or objects
90
if (config && config.__experimentalThemes) {
91
- // TODO: deprecation message for old __experimentalThemes
+ report.warn(
92
+ `The gatsby-config key "__experimentalThemes" has been deprecated. Please use the "plugins" key instead.`
93
+ )
94
const themes = await loadThemes(config, { useLegacyThemes: true })
95
config = themes.config
96
0 commit comments