Skip to content

Commit

Permalink
clean-terminal-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Jan 14, 2024
1 parent 1b34908 commit 4452f48
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"@types/react-helmet": "^6.1.5",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.24",
"clean-terminal-webpack-plugin": "^3.0.0",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^5.0.0",
"esbuild-loader": "^4.0.1",
Expand Down
3 changes: 3 additions & 0 deletions webpack/plugins.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const webpack = require('webpack')

const CleanTerminalPlugin = require('clean-terminal-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
Expand All @@ -22,6 +23,8 @@ module.exports = isDev =>
},
}),

new CleanTerminalPlugin(),

!isDev &&
new MiniCssExtractPlugin({
filename: '[name].[contenthash:8].css',
Expand Down

0 comments on commit 4452f48

Please sign in to comment.