Skip to content

Commit f87d680

Browse files
committed
Don't warn about future flags
1 parent 0b34db5 commit f87d680

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/featureFlags.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,6 @@ function experimentalFlagsEnabled(config) {
4141
)
4242
}
4343

44-
function futureFlagsAvailable(config) {
45-
if (config.future === 'all') {
46-
return []
47-
}
48-
49-
return featureFlags.future.filter(flag => !_.has(config, ['future', flag]))
50-
}
51-
5244
export function issueFlagNotices(config) {
5345
if (process.env.JEST_WORKER_ID !== undefined) {
5446
return
@@ -64,18 +56,6 @@ export function issueFlagNotices(config) {
6456
'Experimental features are not covered by semver, may introduce breaking changes, and can change at any time.',
6557
])
6658
}
67-
68-
if (futureFlagsAvailable(config).length > 0) {
69-
const changes = futureFlagsAvailable(config)
70-
.map(s => chalk.magenta(s))
71-
.join(', ')
72-
73-
log.risk([
74-
`There are upcoming breaking changes: ${changes}`,
75-
'We highly recommend opting-in to these changes now to simplify upgrading Tailwind in the future.',
76-
'https://tailwindcss.com/docs/upcoming-changes',
77-
])
78-
}
7959
}
8060

8161
export default featureFlags

0 commit comments

Comments
 (0)