babel-include-scss
Include scss files as string providing the path to .scss file
Last updated 9 months ago by avastava .
MIT · Original npm · Tarball · package.json
$ cnpm install babel-include-scss 
SYNC missed versions from official npm registry.

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}";

Current Tags

  • 0.1.1                                ...           latest (9 months ago)

2 Versions

  • 0.1.1                                ...           9 months ago
  • 0.1.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |