1
0
Fork 0
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:
Dmitry Lyzo 2023-09-17 00:41:40 +03:00
parent 4e225a8ae3
commit 226a5bbcd8
4 changed files with 30 additions and 23 deletions

View file

@ -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(),