mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-23 22:19:46 +00:00
Fix dev server config
This commit is contained in:
parent
352ebe419b
commit
4e2d071fb6
@ -31,7 +31,7 @@ const common: webpack.Configuration = {
|
|||||||
output: {
|
output: {
|
||||||
filename: '[name].[fullhash].js',
|
filename: '[name].[fullhash].js',
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
publicPath: './'
|
publicPath: ''
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
// @ts-expect-error - Typings mismatch between versions
|
// @ts-expect-error - Typings mismatch between versions
|
||||||
@ -69,11 +69,9 @@ const development: webpack.Configuration = {
|
|||||||
// @ts-expect-error - Typings mismatch between versions
|
// @ts-expect-error - Typings mismatch between versions
|
||||||
devServer: {
|
devServer: {
|
||||||
compress: true,
|
compress: true,
|
||||||
contentBase: path.join(__dirname, 'dist'),
|
|
||||||
port: process.env.RECEIVER_PORT
|
port: process.env.RECEIVER_PORT
|
||||||
? Number.parseInt(process.env.RECEIVER_PORT, 10)
|
? Number.parseInt(process.env.RECEIVER_PORT, 10)
|
||||||
: 9000,
|
: 9000
|
||||||
publicPath: '/'
|
|
||||||
},
|
},
|
||||||
devtool: 'inline-source-map',
|
devtool: 'inline-source-map',
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
|
Loading…
Reference in New Issue
Block a user