-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathwebpack.dev.babel.js
More file actions
20 lines (19 loc) · 686 Bytes
/
webpack.dev.babel.js
File metadata and controls
20 lines (19 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const webpack = require('webpack');
const { merge } = require('webpack-merge');
const common = require('./webpack.common.babel.js');
const ESDocPlugin = require('../node_module_projects/esdoc-webpack-plugin');
// const ESDocPlugin = require('esdoc-webpack-plugin');
module.exports = merge(common, {
mode: 'development',
devtool: 'inline-source-map',
plugins: [
// new webpack.WatchIgnorePlugin({paths: ['/home/narwic/Projects/Home/flag-generator/src/.external-ecmascript.js', /^src/]}),
new ESDocPlugin({
conf: '.esdoc.json',
cwd: '.',
showOutput: false,
destination: './docs',
preserveTmpFile: true
})
]
});