Error occurred while add external css in component

After update Ionic to 2.0.0-rc.1 when you build the project fails.

@Component({
styleUrls: [‘map.css’] ,
encapsulation: ViewEncapsulation.None,
})

Result:

Error: Compilation failed. Resource file not found
Y:/maps/.tmp/app/map/map.css
ngc failed
ionic-app-script task: "build"
Error: Error

The css file is not copied to the directory .tmp and the project can not be compiled.

1 Like

In Github I created an error report, but one of the developers Ionic closed the report and said that the Angular 2 option “styleUrls” in @Component is not supported.


Prior to 2.0.0-rc.1 everything worked.
It is normal practice for developers Ionic? Is it possible to rely on their tools to develop serious applications?