1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-23 00:03:05 +00:00
Lidarr/frontend/postcss.config.js

24 lines
529 B
JavaScript
Raw Normal View History

2017-10-02 03:05:28 +00:00
const reload = require('require-nocache')(module);
module.exports = (ctx, configPath, options) => {
const config = {
plugins: {
2017-10-07 06:21:06 +00:00
'postcss-mixins': {
mixinsDir: [
'frontend/src/Styles/Mixins'
]
},
2017-10-02 03:05:28 +00:00
'postcss-simple-vars': {
variables: () =>
ctx.options.cssVarsFiles.reduce((acc, vars) => {
return Object.assign(acc, reload(vars));
}, {})
},
'postcss-color-function': {},
2019-08-05 00:44:34 +00:00
'postcss-nested': {}
2017-10-02 03:05:28 +00:00
}
};
return config;
};