File tree 1 file changed +6
-4
lines changed 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,9 @@ class Processor {
115
115
if ( i . postcss === true ) {
116
116
let plugin = i ( )
117
117
throw new Error (
118
- 'PostCSS plugin ' + plugin . postcssPlugin +
119
- ' requires PostCSS 8. Update PostCSS or downgrade this plugin.'
118
+ 'PostCSS plugin ' + plugin . postcssPlugin + ' requires PostCSS 8.\n' +
119
+ 'Migration guide for end-users:\n' +
120
+ 'https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users'
120
121
)
121
122
}
122
123
@@ -136,8 +137,9 @@ class Processor {
136
137
}
137
138
} else if ( typeof i === 'object' && i . postcssPlugin ) {
138
139
throw new Error (
139
- 'PostCSS plugin ' + i . postcssPlugin +
140
- ' requires PostCSS 8. Update PostCSS or downgrade this plugin.'
140
+ 'PostCSS plugin ' + i . postcssPlugin + ' requires PostCSS 8.\n' +
141
+ 'Migration guide for end-users:\n' +
142
+ 'https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users'
141
143
)
142
144
} else {
143
145
throw new Error ( i + ' is not a PostCSS plugin' )
You can’t perform that action at this time.
0 commit comments