drop.chapril.org-firefoxsend/postcss.config.js

16 lines
335 B
JavaScript
Raw Normal View History

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