generator-angular2-library icon indicating copy to clipboard operation
generator-angular2-library copied to clipboard

(S)CSS files that are not referenced via styleUrls are not included in the dist output

Open txinfo opened this issue 7 years ago • 1 comments

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

txinfo avatar Jan 05 '18 14:01 txinfo

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 ?

izifortune avatar Jan 15 '18 21:01 izifortune