mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Improve css @import warning text (#10375)
This commit is contained in:
committed by
Ben Newman
parent
7a872b630a
commit
37abeef9a1
@@ -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.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user