mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2024-12-01 03:47:20 -05:00
16 lines
369 B
JavaScript
16 lines
369 B
JavaScript
const { merge } = require('webpack-merge')
|
|
const common = require('./webpack.common.js')
|
|
const path = require('path')
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'development',
|
|
devtool: 'inline-source-map',
|
|
cache: true,
|
|
devServer: {
|
|
contentBase: path.resolve(__dirname, './public'),
|
|
compress: true,
|
|
inline: true,
|
|
// open: true,
|
|
hot: true
|
|
}
|
|
})
|