generator-angular2-library
generator-angular2-library copied to clipboard
(S)CSS files that are not referenced via styleUrls are not included in the dist output
Sometimes a library project may contain stylesheets like master theme files or default reference styles that can be imported by a consuming project. Currently the build process seems to only include styles that are explicitly used by components via the styleUrls property.
Gist with a sample patch to include this functionality: https://gist.github.com/txinfo/8e3665053c3c46206dfffbfcdbde581e
This seems like an nice feature but in case we include scss will be good to have them already compiled in css i believe since you are "publishing" your library. What do you think @jvandemo ?