mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 21:22:35 +01:00
16 lines
331 B
JavaScript
16 lines
331 B
JavaScript
|
const autoprefixer = require('autoprefixer');
|
||
|
const cssnano = require('cssnano');
|
||
|
const mqpacker = require('css-mqpacker');
|
||
|
|
||
|
const conf = require('./server/config');
|
||
|
|
||
|
const options = {
|
||
|
plugins: [autoprefixer, mqpacker, cssnano]
|
||
|
};
|
||
|
|
||
|
if (conf.env === 'development') {
|
||
|
options.map = { inline: true };
|
||
|
}
|
||
|
|
||
|
module.exports = options;
|