-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.dev.js
More file actions
20 lines (18 loc) · 633 Bytes
/
webpack.dev.js
File metadata and controls
20 lines (18 loc) · 633 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const { merge } = require('webpack-merge')
const common = require('./webpack.common.js')
// const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
//https://webpack.js.org/configuration/devtool/
const path = require('path')
const WebpackBuildNotifications = require('webpack-build-notifications')
// eslint-disable-next-line no-undef
module.exports = merge(common, {
mode: 'development',
devtool: 'cheap-module-source-map',
plugins: [
// new BundleAnalyzerPlugin()
new WebpackBuildNotifications({
title: 'ELMO',
logo: path.resolve('./dist/assets/logo.png'),
}),
],
})