octobercms-webpack-starter-.../postcss.config.js

15 lines
402 B
JavaScript
Raw Normal View History

2021-03-27 17:25:42 +00:00
const postcssFunctions = require('./src/css/postcss/functions');
const postcssMixins = require('./src/css/postcss/mixins');
module.exports = {
plugins: [
'postcss-import',
'postcss-custom-media',
['postcss-mixins', { mixins: postcssMixins }],
'postcss-preset-env',
'postcss-nesting',
'postcss-simple-vars',
['postcss-functions', { functions: postcssFunctions }],
],
};