Comparing version 0.48.0 to 0.48.1
@@ -14,2 +14,3 @@ /*! | ||
, basename = require('path').basename | ||
, join = require('path').join | ||
, relative = require('path').relative | ||
@@ -33,2 +34,3 @@ , sep = require('path').sep | ||
this.filename = options.filename; | ||
this.dest = options.dest; | ||
@@ -62,3 +64,5 @@ var sourcemap = options.sourcemap; | ||
var css = compile.call(this) | ||
, url = this.normalizePath(this.filename) + '.map' | ||
, url = this.normalizePath(this.dest | ||
? join(this.dest, basename(this.filename, '.styl') + '.css.map') | ||
: this.filename.replace(/\.styl$/i, '.css.map')) | ||
, map; | ||
@@ -137,2 +141,3 @@ | ||
path = relative(this.basePath, path); | ||
if (this.dest) path = relative(this.dest, path); | ||
if ('\\' == sep) { | ||
@@ -139,0 +144,0 @@ path = path.replace(/^[a-z]:\\/i, '/') |
{ | ||
"name": "stylus", | ||
"description": "Robust, expressive, and feature-rich CSS superset", | ||
"version": "0.48.0", | ||
"version": "0.48.1", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
330716
12593