Skip to content

Commit e7a3fbb

Browse files
committed
Added test for extra postcss plugins
1 parent 8b42dd5 commit e7a3fbb

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import './bar.scss';
2+
3+
<div styleName="a_modified"></div>;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.a {
2+
background-color: #ffffff;
3+
4+
&_modified {
5+
background-color: #000000;
6+
}
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import './bar.scss';
2+
3+
<div className="bar__a_modified"></div>;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"plugins": [
3+
[
4+
"../../../../src",
5+
{
6+
"generateScopedName": "[name]__[local]",
7+
"filetypes": {
8+
".scss": {
9+
"syntax": "postcss-scss",
10+
"plugins": ["postcss-nested"]
11+
}
12+
}
13+
}
14+
]
15+
]
16+
}

0 commit comments

Comments
 (0)