mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add conditional build USE_SYSTEM_FONTS
This commit is contained in:
parent
4e225a8ae3
commit
226a5bbcd8
4 changed files with 30 additions and 23 deletions
|
@ -47,6 +47,7 @@ const config = {
|
|||
},
|
||||
plugins: [
|
||||
new DefinePlugin({
|
||||
__USE_SYSTEM_FONTS__: JSON.stringify(!!process.env.USE_SYSTEM_FONTS),
|
||||
__WEBPACK_SERVE__: JSON.stringify(!!process.env.WEBPACK_SERVE)
|
||||
}),
|
||||
new CleanWebpackPlugin(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue