Exclude sass files from ng-build
I use sass-loader in webpack.config to compile scss files to one bundled minified CSS file and I will manually reference this file in my "Index.html" but i need to exclude scss files from "ng build", I excluded it in tsconfig.app "exclude": ["../**/*.scss"] but it didn't work
Versions.
@angular/cli: 1.2.0 node: 7.10.0 os: win32 x64 @angular/common: 4.2.5 @angular/compiler: 4.2.5 @angular/core: 4.2.5 @angular/forms: 4.2.5 @angular/http: 4.2.5 @angular/platform-browser: 4.2.5 @angular/platform-browser-dynamic: 4.2.5 @angular/router: 4.2.5 @angular/cli: 1.2.0 @angular/compiler-cli: 4.2.5 @angular/language-service: 4.2.5
The log given by the failure.
Still included in dist folder
Desired functionality.
Excluded from dist output folder
I was adding sass files in assets and try yo exclude them on same time. I think that was the problem
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.