Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5de8a86

Browse files
stash
1 parent 9d0173b commit 5de8a86

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

‎lib/walkers/css-graph-builder.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ module.exports = postcss.plugin('postcss-build-graph', (options = {}) => {
116116
TREE_DEPTH++;
117117
let node = root.nodes[i];
118118
let type = node.type;
119+
119120
if (previousNode && previousNode.type === 'comment' && previousNode.text === '@dynamic') {
120121
type = 'dynamic';
121122
} else if (type ==='atrule' && node.name === 'dynamic') {

‎tests/dummy/app/styles/components/my-component.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
height: 50px;
1717
}
1818

19+
/*
20+
img[src="foo"] {
21+
width: 100px;
22+
}
23+
*/
24+
1925
.baz {
2026
height: 25px;
2127
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /