mirror of
https://github.com/visgl/react-map-gl.git
synced 2025-12-08 20:16:02 +00:00
25 lines
400 B
JavaScript
25 lines
400 B
JavaScript
const webpack = require('webpack');
|
|
|
|
const config = require('./config');
|
|
|
|
module.exports = Object.assign(config, {
|
|
|
|
entry: [
|
|
'webpack-hot-middleware/client',
|
|
'./src/main'
|
|
],
|
|
|
|
devServer: {
|
|
port: 3000,
|
|
progress: true
|
|
},
|
|
|
|
devtool: 'cheap-source-maps',
|
|
|
|
plugins: config.plugins.concat([
|
|
new webpack.HotModuleReplacementPlugin(),
|
|
new webpack.NoErrorsPlugin()
|
|
])
|
|
|
|
});
|