babel-plugin-stylus-compiler
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -47,3 +47,3 @@ 'use strict'; | ||
var stylusContent = _fs2.default.readFileSync(path, 'utf8'); | ||
return (0, _stylus2.default)(stylusContent).include((0, _path.dirname)(path)).render(); | ||
return (0, _stylus2.default)(stylusContent).include((0, _path.dirname)(path)).render().replace(/\n/g, ' '); | ||
}; | ||
@@ -50,0 +50,0 @@ |
@@ -34,3 +34,3 @@ /* global process */ | ||
const stylusContent = fs.readFileSync(path, 'utf8'); | ||
return stylus(stylusContent).include(dirname(path)).render(); | ||
return stylus(stylusContent).include(dirname(path)).render().replace(/\n/g,' '); | ||
} | ||
@@ -37,0 +37,0 @@ |
{ | ||
"name": "babel-plugin-stylus-compiler", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A Babel 6 plugin for compiling stylus files into css", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -28,2 +28,5 @@ # babel-plugin-stylus-compiler | ||
## Change log | ||
### 1.0.3 | ||
* Replace new lines with spaces when inlining the css | ||
### 1.0.2 | ||
@@ -30,0 +33,0 @@ * Add more robust support for resolving `.styl` file in node_modules |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8936
40