mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 00:41:54 +08:00
fix(app/angular): set ForkTsCheckerWebpackPlugin async to true
TypeScript errors can cause a build crash during the reload process. The build stops at 95% and only a restart of Storybook fixes it.
This commit is contained in:
parent
6e74df55d3
commit
1315115e2d
@ -8,7 +8,7 @@ export default function (tsLoaderOptions: Partial<Options>) {
|
||||
if (tsLoaderOptions && tsLoaderOptions.configFile) {
|
||||
return new ForkTsCheckerWebpackPlugin({
|
||||
tsconfig: tsLoaderOptions.configFile,
|
||||
async: false,
|
||||
async: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user