1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 13:13:00 +01:00
send/postcss.config.js
2017-08-25 09:44:52 -07:00

16 lines
335 B
JavaScript

const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano');
const mqpacker = require('css-mqpacker');
const config = require('./server/config');
const options = {
plugins: [autoprefixer, mqpacker, cssnano]
};
if (config.env === 'development') {
options.map = { inline: true };
}
module.exports = options;