<commit_before># plugin-scss

[![Build Status](https://api.travis-ci.org/KevCJones/plugin-scss.svg)](https://api.travis-ci.org/KevCJones/plugin-scss.svg)
[![devDependency Status](https://david-dm.org/KevCJones/plugin-scss/dev-status.svg)](https://david-dm.org/KevCJones/plugin-scss#info=devDependencies)

Originally forked from [plugin-sass](https://github.com/mobilexag/plugin-sass)

[SystemJS](https://github.com/systemjs/systemjs)
[SCSS](http://sass-lang.com) loader plugin. Can easily be installed with
[jspm](http://jspm.io) package manager.

```sh
$ jspm install scss=github:KevCJones/plugin-scss
```

Disclaimer : Learning experiment that has legs so shared it out.

We made the decision that it was unlikely that plugin-sass team would ever merge our changes back into the plugin-sass. They have a fundamental differece in use. Plugin-sass is cleaner if all you want to do is load your styles into the head block. However we had a very different use case. 

We wanted to transpile our .scss content and return the css as a string so that we could inject it where ever we please. In particular, we wanted to inject into Angular 2's styles decorator. 

Using it looks like this in its various forms : 

```js
System.import('./style.scss!').then(function(css){
  //inject css in head?
  //pass css into angular2 @component styles tag [up to you]
});
```<commit_msg>chore: travis badge update to latest tag<commit_after># plugin-scss

[![Build Status](https://api.travis-ci.org/KevCJones/plugin-scss.svg?branch=v0.2.5)](https://api.travis-ci.org/KevCJones/plugin-scss.svg?branch=v0.2.5)
[![devDependency Status](https://david-dm.org/KevCJones/plugin-scss/dev-status.svg)](https://david-dm.org/KevCJones/plugin-scss#info=devDependencies)

Originally forked from [plugin-sass](https://github.com/mobilexag/plugin-sass)

[SystemJS](https://github.com/systemjs/systemjs)
[SCSS](http://sass-lang.com) loader plugin. Can easily be installed with
[jspm](http://jspm.io) package manager.

```sh
$ jspm install scss=github:KevCJones/plugin-scss
```

Disclaimer : Learning experiment that has legs so shared it out.

We made the decision that it was unlikely that plugin-sass team would ever merge our changes back into the plugin-sass. They have a fundamental differece in use. Plugin-sass is cleaner if all you want to do is load your styles into the head block. However we had a very different use case. 

We wanted to transpile our .scss content and return the css as a string so that we could inject it where ever we please. In particular, we wanted to inject into Angular 2's styles decorator. 

Using it looks like this in its various forms : 

```js
System.import('./style.scss!').then(function(css){
  //inject css in head?
  //pass css into angular2 @component styles tag [up to you]
});
```
{'fraction_non_alphanumeric': 0.11914132379248658, 'fraction_numerical': 0.0035778175313059034, 'mean_word_length': 4.514792899408284, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '548557', 'n_tokens_mistral': 915, 'n_tokens_neox': 871, 'n_words': 302}