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.
1 parent 853b04c commit 33b5df4Copy full SHA for 33b5df4
src/lib/schematics/utils/ast.ts
@@ -67,7 +67,7 @@ export function getStylesPath(host: Tree, project: Project): string {
67
const buildTarget = project.architect['build'];
68
69
if (buildTarget.options && buildTarget.options.styles && buildTarget.options.styles.length) {
70
- const styles = buildTarget.options.styles.map(s => s.input);
+ const styles = buildTarget.options.styles.map(s => typeof s === 'string' ? s : s.input);
71
72
// First, see if any of the assets is called "styles.(le|sc|c)ss", which is the default
73
// "main" style sheet.
0 commit comments