Skip to content

Commit

Permalink
fix: include scss sources in packages (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored and hansl committed May 27, 2016
1 parent 1f46a4b commit fd02b10
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion angular-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
};


Expand Down

0 comments on commit fd02b10

Please sign in to comment.