Babel plugin to include sass (.scss) files as string
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json
test.js
test.scss
test_cont.js

README.md

babel-include-scss

Babel plugin to include sass (.scss) files as string

//index.js
let a = include_scss('./test.scss');

//test.scss
.style {
    color: red;
}

//output
let a = ".style{color:red}";