Don't log anything for people who have opted in to future features

This commit is contained in:
Adam Wathan 2020-08-19 13:28:04 -04:00
parent a7e19ca131
commit b3db1053b5

View file

@ -58,17 +58,6 @@ export function issueFlagNotices(config) {
return
}
if (futureFlagsEnabled(config).length > 0) {
const changes = futureFlagsEnabled(config)
.map(s => chalk.cyan(s))
.join(', ')
log.info([
`You have opted-in to future-facing breaking changes: ${changes}`,
'These changes are stable and will be the default behavior in the next major version of Tailwind.',
])
}
if (experimentalFlagsEnabled(config).length > 0) {
const changes = experimentalFlagsEnabled(config)
.map(s => chalk.yellow(s))