Id like to:
npm install some-css-component
And then from the corresponding angular 2 component:
@Component({
selector: 'some-component',
styleUrls: [ 'some-css-component, ...' ]
})
Is there a way to configure the angular build to resolve the npm some-css-component?
styleUrlshas to point to the relative location of thecss. you'll have to figure the relative path from yourtsfile to thenode_modules/some-css-component/path/to/file.css