stylus-loader
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -23,3 +23,5 @@ var loaderUtils = require('loader-utils'); | ||
var stylusOptions = this.options.stylus || {}; | ||
options.use = options.use || stylusOptions.use || []; | ||
// Instead of assigning to options, we run them manually later so their side effects apply earlier for | ||
// resolving paths. | ||
var use = options.use || stylusOptions.use || []; | ||
options.import = options.import || stylusOptions.import || []; | ||
@@ -104,2 +106,5 @@ options.define = options.define || stylusOptions.define || []; | ||
// Use plugins here so that resolve related side effects can be used while we resolve imports. | ||
use.forEach(styl.use, styl); | ||
when | ||
@@ -106,0 +111,0 @@ // Resolve manual imports like @import files. |
{ | ||
"name": "stylus-loader", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Stylus loader for webpack", | ||
@@ -12,3 +12,5 @@ "main": "index.js", | ||
"test": "testem ci", | ||
"test-dev": "testem -l firefox" | ||
"test-dev": "testem -l firefox", | ||
"test-one": "testem ci -l firefox", | ||
"test-build": "webpack --config test/webpack.config.js --output-path test/tmp --output-file bundle.js" | ||
}, | ||
@@ -15,0 +17,0 @@ "author": "Kyle Robinson Young <kyle@dontkry.com> (http://dontkry.com)", |
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
29674
656