Skip to content

Commit 3b99816

Browse files
committed
Remove fn in postcss config
1 parent f8fa6a7 commit 3b99816

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

config/postcss.config.js

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
1-
module.exports = (api) => {
2-
return {
3-
plugins: [
4-
'postcss-import',
5-
'postcss-url',
6-
'postcss-nested',
7-
[
8-
'postcss-preset-env',
9-
{
10-
stage: 2,
11-
features: {
12-
'nesting-rules': false
13-
}
1+
module.exports = {
2+
plugins: [
3+
'postcss-import',
4+
'postcss-url',
5+
'postcss-nested',
6+
[
7+
'postcss-preset-env',
8+
{
9+
stage: 2,
10+
features: {
11+
'nesting-rules': false
1412
}
15-
],
16-
[
17-
'postcss-custom-media',
18-
{
19-
preserve: false
20-
}
21-
]
13+
}
14+
],
15+
[
16+
'postcss-custom-media',
17+
{
18+
preserve: false
19+
}
2220
]
23-
}
21+
]
2422
}

0 commit comments

Comments
 (0)