I am using Angular2 cli with webpack and trying to create a stand alone module that contains a relative path css file and I cannot get it to work without using full path.
I have followed the docs here and still doesnt work. https://angular.io/docs/ts/latest/cookbook/component-relative-paths.html
@Component({
selector: 'mymodulecomponent',
template: '<view></view>',
styleUrls: ['./mystyle.component.scss']
})
Is there some dependency or what could I be doing wrong?
I ultimately want to build for npm, so if there is another way to include cc file I am open.