From fd02b10b121a0f95ea6247a6a60ba1457ae81e00 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Fri, 27 May 2016 09:59:08 -0700 Subject: [PATCH] fix: include scss sources in packages (#536) --- angular-cli-build.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/angular-cli-build.js b/angular-cli-build.js index a3cfa49367d..f92b0d416d7 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 }); };