1
0
mirror of https://github.com/mgerb/react-starter synced 2026-03-05 06:15:24 +00:00

favicon added to webpack build process

This commit is contained in:
2018-03-22 21:16:01 -05:00
parent 85d8a4d76b
commit 3adf99fdc7
5 changed files with 945 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
const CleanWebpackPlugin = require('clean-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const WebappWebpackPlugin = require('webapp-webpack-plugin');
const path = require('path');
const webpack = require('webpack');
@@ -72,5 +73,6 @@ module.exports = {
template: './index.html',
}),
new webpack.HotModuleReplacementPlugin(),
new WebappWebpackPlugin('./favicon.png'),
],
};