forked from React-Indy/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostcss.config.js
More file actions
40 lines (37 loc) · 930 Bytes
/
postcss.config.js
File metadata and controls
40 lines (37 loc) · 930 Bytes
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
38
39
40
/**
* File for extending the default Next.js PostCSS configuration.
* https://github.com/postcss/postcss
*/
module.exports = {
plugins: [
/**
* The default Next.js configuration. Required to add here because the
* default behavior is disabled when a custom configuration file is used.
* https://nextjs.org/docs/pages/building-your-application/configuring/post-css#customizing-plugins
*/
"postcss-flexbugs-fixes",
[
"postcss-preset-env",
{
autoprefixer: {
flexbox: "no-2009",
},
stage: 3,
features: {
"custom-properties": false,
},
},
],
/**
* Enables nesting selectors withing CSS module files.
* https://www.npmjs.com/package/postcss-nesting
*/
"postcss-nesting",
/**
* Enables using `@import-glob` in `src/css/global.css`.
* https://www.npmjs.com/package/postcss-import-ext-glob
*/
"postcss-import-ext-glob",
"postcss-import",
],
};