Skip to content

What is the simplest, most straightforward manner of including CSS preprocessor? #34

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

Closed
stefek99 opened this issue Jun 23, 2016 · 1 comment
Labels

Comments

@stefek99
Copy link
Contributor

stefek99 commented Jun 23, 2016

Some reading: http://angular-tips.com/blog/2015/06/using-angular-1-dot-x-with-es6-and-webpack/

screen shot 2016-06-23 at 22 43 54

Having a look at the list of features:
screen shot 2016-06-23 at 22 44 22

Having look at the source code: https://github.com/preboot/angular-webpack/blob/master/webpack.config.js#L97-L102


I put a test.scss file into style directory and the styles wasn't applied.

body {
  a {
    color: red;
  }
}

My experience with WebPack so far - it combines all .js into a single app.bundle.js - I would like to have same feature for the styles... Before I start reinventing the wheel - is it a matter of changing some settings in CSS loader, or maybe adding some other loader such as: https://github.com/jtangelder/sass-loader ?

Or maybe it is working all the time, it's just me not naming files correctly, not importing them?


I can confirm that test.css is working just fine while .scss fails to load:
screen shot 2016-06-23 at 22 55 05

@phra
Copy link
Member

phra commented Nov 16, 2016

just follow README.md of the selected loader for webpack, like this one

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

No branches or pull requests

2 participants