Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styleURL #136

Closed
TaiPhamD opened this issue Oct 15, 2016 · 1 comment
Closed

styleURL #136

TaiPhamD opened this issue Oct 15, 2016 · 1 comment

Comments

@TaiPhamD
Copy link

I tried defining a style URL in my component and when i run npm start:

ERROR in ./src/app/features/map/map.scss
Module parse failed: /src/app/features/map/map.scss Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| .sebm-google-map-container {
| height: 500px;
| }

How does it not have a scss loader?

@qdouble
Copy link
Owner

qdouble commented Oct 15, 2016

@rushstrike just use npm run sass if you create a new sass file. Most of the scripts run node-sass first, but not that one as it creates a loop. We're not currently using a sass loader because the ngc/AOT compiler cannot process SASS, this will change when we switch over to using the webpack AOT plugin(#112) ...but it still has bugs, so we can't switch yet.

@qdouble qdouble closed this as completed Oct 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants