mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
23 lines
515 B
JavaScript
23 lines
515 B
JavaScript
const path = require('path');
|
|
const common = require('./webpack.common');
|
|
const merge = require('webpack-merge');
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'development',
|
|
entry: './scripts/site.js',
|
|
devtool: 'source-map',
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
enforce: 'pre',
|
|
use: ['source-map-loader']
|
|
}
|
|
]
|
|
},
|
|
devServer: {
|
|
contentBase: path.join(__dirname, 'dist'),
|
|
compress: true
|
|
}
|
|
});
|