jellyfin-web/postcss.config.js

15 lines
371 B
JavaScript
Raw Normal View History

2020-05-06 07:02:56 -07:00
const packageConfig = require('./package.json');
2020-03-13 01:46:11 -07:00
const postcssPresetEnv = require('postcss-preset-env');
const autoprefixer = require('autoprefixer');
2020-02-28 06:36:42 -07:00
const cssnano = require('cssnano');
const config = () => ({
2020-04-25 05:07:55 -07:00
plugins: [
2020-05-06 07:02:56 -07:00
postcssPresetEnv({browsers: packageConfig.browserslist}),
autoprefixer(),
2020-04-25 05:07:55 -07:00
cssnano()
]
2020-03-13 01:46:11 -07:00
});
2020-02-28 06:36:42 -07:00
2020-04-25 05:07:55 -07:00
module.exports = config;