Skip to content

Commit

Permalink
fork-ts-checker-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Jan 14, 2024
1 parent f3df26d commit 9c81804
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 0 deletions.
266 changes: 266 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 @@ -79,6 +79,7 @@
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"html-webpack-plugin": "^5.4.0",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
Expand Down
3 changes: 3 additions & 0 deletions webpack/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const webpack = require('webpack')

const HtmlWebpackPlugin = require('html-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer')

const { compact } = require('lodash')
Expand Down Expand Up @@ -52,5 +53,7 @@ module.exports = isDev =>
// }
// ]),

new ForkTsCheckerWebpackPlugin(),

process.env.npm_config_report && new BundleAnalyzerPlugin(),
])

0 comments on commit 9c81804

Please sign in to comment.