Skip to content

Commit

Permalink
fix: fork-ts-checker-webpack-plugin options breaking changes (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
evenchange4 authored Jun 28, 2024
1 parent 446a85b commit 655b84f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/toolpack/src/webpack/config/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as crypto from 'crypto';
import webpack from 'webpack';
import * as path from 'path';
import { resolve } from '@shuvi/utils/resolve';
import type { ForkTsCheckerWebpackPluginOptions } from 'fork-ts-checker-webpack-plugin/lib/plugin-options';
import { WebpackChain, baseWebpackChain, BaseOptions } from './base';
import { withStyle } from './parts/style';
import {
Expand Down Expand Up @@ -67,12 +68,11 @@ export function createBrowserWebpackChain(options: BaseOptions): WebpackChain {
},
async: dev,
logger: {
infrastructure: 'silent',
issues: 'silent',
devServer: false
log: message => console.log(message),
error: message => console.error(message)
},
formatter: 'codeframe'
}
} as ForkTsCheckerWebpackPluginOptions
]);
}

Expand Down

0 comments on commit 655b84f

Please sign in to comment.