1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-14 07:02:30 +01:00
send/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;