Improve css @import warning text (#10375)

This commit is contained in:
James Burgess
2019-01-12 02:13:17 +04:00
committed by Ben Newman
parent 7a872b630a
commit 37abeef9a1

View File

@@ -144,8 +144,9 @@ const CssTools = {
if (ast.nodes.some(rulesPredicate('import'))) {
warnCb(
ast.filename,
'There are some @import rules those are not taking effect as ' +
'they are required to be in the beginning of the file.'
'There are some @import rules in the middle of a file. This ' +
'might be a bug, as imports are only valid at the beginning of ' +
'a file.'
);
}
}