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:
Kai Röder 2022-02-02 08:52:58 +01:00
parent 6e74df55d3
commit 1315115e2d

View File

@ -8,7 +8,7 @@ export default function (tsLoaderOptions: Partial<Options>) {
if (tsLoaderOptions && tsLoaderOptions.configFile) {
return new ForkTsCheckerWebpackPlugin({
tsconfig: tsLoaderOptions.configFile,
async: false,
async: true,
});
}