1 | const {resolve} = require('path');
|
2 | const {merge} = require('lodash');
|
3 | const webpack = require('webpack');
|
4 |
|
5 | const HtmlWebpackPlugin = require('html-webpack-plugin');
|
6 | const WebpackNotifierPlugin = require('webpack-notifier');
|
7 |
|
8 | const base = require("./webpack-base.config.js");
|
9 |
|
10 |
|
11 | module.exports = merge({}, base, {
|
12 | mode: "development",
|
13 | plugins: [
|
14 | new HtmlWebpackPlugin({
|
15 | title: "Aerial Playground",
|
16 | template: __dirname + '/src/index.html'
|
17 | }),
|
18 | new webpack.NamedModulesPlugin(),
|
19 | new WebpackNotifierPlugin()
|
20 | ]
|
21 | });
|