Skip to content

Commit

Permalink
⚙️ config: fix dev webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPetros committed Oct 27, 2024
1 parent d2eb157 commit fadc59d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const path = require("path")

const { merge } = require("webpack-merge")
const webpackCommonConfig = require("./webpack.config")
const HtmlWebapackPlugin = require("html-webpack-plugin")

module.exports = merge(webpackCommonConfig, {
mode: 'development',
Expand Down
5 changes: 0 additions & 5 deletions webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const path = require("path")

const { merge } = require("webpack-merge")
const webpackCommonConfig = require("./webpack.config")
const HtmlWebapackPlugin = require("html-webpack-plugin")
const MiniCssExtractPlugin = require("mini-css-extract-plugin")
const CssMinimizerPlugin = require("css-minimizer-webpack-plugin")
const { CleanWebpackPlugin } = require("clean-webpack-plugin")
Expand Down Expand Up @@ -37,9 +36,5 @@ module.exports = merge(webpackCommonConfig, {
new MiniCssExtractPlugin({
filename: 'styles.[contenthash].css'
}),
new HtmlWebapackPlugin({
filename: 'index.html',
template: './src/index.html'
}),
]
})

0 comments on commit fadc59d

Please sign in to comment.