Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
280 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var resolveKeyword = require('css-tree').keyword;
|
---|
| 2 | var compressKeyframes = require('./atrule/keyframes');
|
---|
| 3 |
|
---|
| 4 | module.exports = function(node) {
|
---|
| 5 | // compress @keyframe selectors
|
---|
| 6 | if (resolveKeyword(node.name).basename === 'keyframes') {
|
---|
| 7 | compressKeyframes(node);
|
---|
| 8 | }
|
---|
| 9 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.