We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fded91 + cf909a9 commit a089555Copy full SHA for a089555
app/angular/src/server/angular-cli_utils.ts
@@ -4,6 +4,7 @@ import {
4
getCommonConfig,
5
getStylesConfig,
6
} from '@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs';
7
+import { logger } from '@storybook/node-logger';
8
9
import { RuleSetRule, Configuration } from 'webpack';
10
@@ -64,6 +65,10 @@ export function getAngularCliParts(cliWebpackConfigOptions: any) {
64
65
cliStyleConfig: getStylesConfig(cliWebpackConfigOptions),
66
};
67
} catch (e) {
68
+ logger.warn(
69
+ 'Failed to load the Angular CLI config. Using Storybook\'s default config instead.'
70
+ );
71
+ logger.warn(e);
72
return null;
73
}
74
0 commit comments