fix useTypeScript没有改回来

This commit is contained in:
Wang Kejun 2022-08-19 01:36:43 +08:00
parent 89cb0c9a8a
commit 5db4283eca
2 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ module.exports = function (webpackEnv) {
),
}),
// TypeScript type checking
false &&
useTypeScript &&
new ForkTsCheckerWebpackPlugin({
async: isEnvDevelopment,
typescript: {

View File

@ -818,7 +818,7 @@ module.exports = function (webpackEnv) {
maximumFileSizeToCacheInBytes: 5 * 1024 * 1024,
}),
// TypeScript type checking
false &&
useTypeScript &&
new ForkTsCheckerWebpackPlugin({
async: isEnvDevelopment,
typescript: {