mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Use root build config
This commit is contained in:
parent
62a7cf4289
commit
f21f01bb05
4 changed files with 34 additions and 8 deletions
|
@ -1,10 +1,11 @@
|
|||
const packageConfig = require('./package.json');
|
||||
const postcssPresetEnv = require('postcss-preset-env');
|
||||
const autoprefixer = require('autoprefixer');
|
||||
const cssnano = require('cssnano');
|
||||
|
||||
const config = () => ({
|
||||
plugins: [
|
||||
postcssPresetEnv(),
|
||||
postcssPresetEnv({browsers: packageConfig.browserslist}),
|
||||
autoprefixer(),
|
||||
cssnano()
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue