mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Merge pull request #3027 from dmitrylyzo/legacy-dev
Use "web" target in the serve mode only
This commit is contained in:
commit
816be00e2a
@ -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