Bubble @screen at-rules when adding styles through plugins
This commit is contained in:
parent
973e41cb8c
commit
6ce2cfe349
1 changed files with 1 additions and 1 deletions
|
|
@ -10,6 +10,6 @@ export default function parseObjectStyles(styles) {
|
|||
|
||||
return _.flatMap(
|
||||
styles,
|
||||
style => postcss([postcssNested]).process(style, { parser: postcssJs }).root.nodes
|
||||
style => postcss([postcssNested({ bubble: ['screen'] })]).process(style, { parser: postcssJs }).root.nodes
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue