-
Notifications
You must be signed in to change notification settings - Fork 0
/
postcss.config.js
37 lines (34 loc) · 907 Bytes
/
postcss.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import autoprefixer from "autoprefixer";
import cssnano from "cssnano";
import postcssCustomMedia from "postcss-custom-media";
import postcssCustomProperties from "postcss-custom-properties";
import postcssInlineSvg from "postcss-inline-svg";
import postcssPresetEnv from "postcss-preset-env";
import tailwind from "tailwindcss";
import tailwindConfig from "./tailwind.config.js";
import tailwindNesting from "tailwindcss/nesting";
export default {
plugins: [
autoprefixer,
tailwind(tailwindConfig),
tailwindNesting,
cssnano({
preset: [
"default",
{
cssDeclarationSorter: false,
reduceIdents: false,
},
],
}),
postcssCustomMedia,
postcssCustomProperties,
postcssInlineSvg,
postcssPresetEnv({
precalculate: false,
features: {
"logical-properties-and-values": false,
},
}),
],
};