|
|
|
@ -2,7 +2,6 @@ import webpack from 'webpack';
|
|
|
|
|
import GitRevisionPlugin from 'git-revision-webpack-plugin';
|
|
|
|
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
|
|
|
import FriendlyErrorsWebpackPlugin from 'friendly-errors-webpack-plugin';
|
|
|
|
|
import FlowWebpackPlugin from 'flow-webpack-plugin';
|
|
|
|
|
import WebpackBuildNotifierPlugin from 'webpack-build-notifier';
|
|
|
|
|
|
|
|
|
|
// turn on for bundle analyzing
|
|
|
|
@ -106,9 +105,6 @@ module.exports = {
|
|
|
|
|
new webpack.DefinePlugin({
|
|
|
|
|
COMMITHASH: JSON.stringify(gitRevisionPlugin.commithash()),
|
|
|
|
|
}),
|
|
|
|
|
new FlowWebpackPlugin({
|
|
|
|
|
reportingSeverity: 'warning',
|
|
|
|
|
}),
|
|
|
|
|
new HtmlWebpackPlugin({
|
|
|
|
|
chunks: ['index'],
|
|
|
|
|
template: `${SRC}index.html`,
|
|
|
|
|