Skip to content

Commit 2af1b51

Browse files
David HartmannJackUrb
David Hartmann
authored andcommitted
add webpack.dev config to improve debugging
1 parent b632aed commit 2af1b51

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

webpack.dev.js

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Copyright 2017-present, The Visdom Authors
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*
8+
*/
9+
10+
const { merge } = require('webpack-merge');
11+
const common = require('./webpack.common.js');
12+
13+
module.exports = merge(common, {
14+
mode: 'development',
15+
devtool: 'inline-source-map',
16+
devServer: {
17+
static: './dist',
18+
},
19+
});

0 commit comments

Comments
 (0)