diff --git a/angular-cli-build.js b/angular-cli-build.js index a3cfa49367d0..f92b0d416d70 100644 --- a/angular-cli-build.js +++ b/angular-cli-build.js @@ -20,7 +20,10 @@ module.exports = function(defaults) { include: [ '**/*.css' ] })); - return new MergeTree([appTree, cssAutoprefixed], { overwrite: true }); + // Include the scss sources in the output for when we publish. + const scssSources = new Funnel('src', {include: ['**/*.scss']}); + + return new MergeTree([appTree, cssAutoprefixed, scssSources], { overwrite: true }); };