mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
17 lines
557 B
JavaScript
17 lines
557 B
JavaScript
const packageConfig = require('./package.json');
|
|
const postcssPresetEnv = require('postcss-preset-env');
|
|
const autoprefixer = require('autoprefixer');
|
|
const cssnano = require('cssnano');
|
|
|
|
const config = () => ({
|
|
plugins: [
|
|
// Explicitly specify browserslist to override ones from node_modules
|
|
// For example, Swiper has it in its package.json
|
|
postcssPresetEnv({browsers: packageConfig.browserslist}),
|
|
autoprefixer({overrideBrowserslist: packageConfig.browserslist}),
|
|
cssnano()
|
|
]
|
|
});
|
|
|
|
module.exports = config;
|