Skip to content

Commit fd02b10

Browse files
jelbournhansl
authored andcommitted
fix: include scss sources in packages (#536)
1 parent 1f46a4b commit fd02b10

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

angular-cli-build.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ module.exports = function(defaults) {
2020
include: [ '**/*.css' ]
2121
}));
2222

23-
return new MergeTree([appTree, cssAutoprefixed], { overwrite: true });
23+
// Include the scss sources in the output for when we publish.
24+
const scssSources = new Funnel('src', {include: ['**/*.scss']});
25+
26+
return new MergeTree([appTree, cssAutoprefixed, scssSources], { overwrite: true });
2427
};
2528

2629

0 commit comments

Comments
 (0)