forked from OpenTermsArchive/contribution-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
postcss.config.js
28 lines (28 loc) · 1018 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
module.exports = {
plugins: {
'postcss-mixins': {
//Path to mixin file
mixinsFiles: './src/modules/Common/styles/mixins.css',
},
'postcss-flexbugs-fixes': {},
'postcss-custom-media': {
importFrom: './src/modules/Common/styles/custom-media-queries.css',
},
'postcss-nesting': {},
// When enabled, build fails so we remove this until we find what's going on
// This will prevent website to work on IE11 but we could not find a working solution for now
// 'postcss-custom-properties': {
// //Necessary to make next working, todo: publish an issue
// importFrom: './src/modules/Common/styles/custom-properties.css',
// },
'postcss-calc': {
// Adds warnings when calc() are not reduced to a single value.
//warnWhenCannotResolve: true,
},
'postcss-easings': {},
autoprefixer: {
//Add prefixes only for final and IE versions of specification (see browserslist in package.json)
flexbox: 'no-2009',
},
},
};