chore: remove HtmlWebpackPlugin from dev webpack config (#1377)

This commit is contained in:
Aman Harwara
2022-08-06 10:21:39 +05:30
committed by GitHub
parent 5f0d3ca8b2
commit f2369c7555

View File

@@ -12,16 +12,7 @@ module.exports = (env, argv) => {
optimization: {
minimize: false,
},
plugins: [
new HtmlWebpackPlugin({
template: './index.html',
inject: true,
templateParameters: {
env: process.env,
},
}),
new ReactRefreshWebpackPlugin(),
],
plugins: [new ReactRefreshWebpackPlugin()],
devServer: {
hot: true,
static: './dist',