Skip to content

Commit 4f0801e

Browse files
zvonimirrstrdr4605
authored andcommitted
Configure PostCSS
1 parent f5e34d0 commit 4f0801e

File tree

5 files changed

+3131
-1788
lines changed

5 files changed

+3131
-1788
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/node_modules
55
/.pnp
66
.pnp.js
7+
.yarn/
78

89
# testing
910
/coverage

.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@
2222
"devDependencies": {
2323
"@types/node": "^18.8.3",
2424
"@types/react": "^17.0.3",
25+
"autoprefixer": "^10.4.13",
26+
"cssnano": "^5.1.14",
2527
"eslint": "8.12.0",
2628
"eslint-config-next": "12.1.1",
29+
"postcss-nested": "^6.0.0",
30+
"postcss-sorting": "^8.0.1",
2731
"typescript": "^4.2.3"
2832
}
2933
}

postcss.config.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"plugins": [
3+
"autoprefixer",
4+
"postcss-nested",
5+
"postcss-sorted",
6+
"cssnano"
7+
]
8+
}

0 commit comments

Comments
 (0)