Skip to content

Commit

Permalink
Better warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed May 26, 2021
1 parent 8d492b3 commit c1b26d1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions lib/autoprefixer.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@ function timeCapsule(result, prefixes) {

/* istanbul ignore next */
result.warn(
'Autoprefixer applied with no browsers, prefixes or selectors in the target list. ' +
'This is redundant, and no prefixes will be applied. ' +
'Make sure your targets are set up correctly.\n' +
'\n' +
' Learn more at:\n' +
' https://github.com/postcss/autoprefixer#readme\n' +
'\n'
'Autoprefixer target browsers do not need any prefixes.' +
'You do not need Autoprefixer anymore.\n' +
'Check your Browserslist config to be sure that your targets ' +
'are set up correctly.\n' +
'\n' +
' Learn more at:\n' +
' https://github.com/postcss/autoprefixer#readme\n' +
' https://github.com/browserslist/browserslist#readme\n' +
'\n'
)
}

Expand Down

0 comments on commit c1b26d1

Please sign in to comment.