mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 09:58:18 -07:00
Target "web" in serve mode only
This commit is contained in:
parent
a70c83de3c
commit
5d13add090
@ -3,7 +3,7 @@ const { merge } = require('webpack-merge');
|
||||
|
||||
module.exports = merge(common, {
|
||||
// In order for live reload to work we must use "web" as the target not "browserlist"
|
||||
target: 'web',
|
||||
target: process.env.WEBPACK_SERVE ? 'web' : 'browserslist',
|
||||
mode: 'development',
|
||||
entry: './scripts/site.js',
|
||||
devtool: 'source-map',
|
||||
|
Loading…
Reference in New Issue
Block a user