hexo-autoprefixer
Advanced tools
Comparing version 0.0.1 to 0.1.0
var autoprefixer = require('autoprefixer-core'); | ||
var assign = require('object-assign'); | ||
var minimatch = require('minimatch'); | ||
var postcss = require('postcss'); | ||
@@ -17,5 +18,5 @@ module.exports = function(str, data){ | ||
var result = autoprefixer(options).process(str, {from: data.path}); | ||
var result = postcss([autoprefixer(options)]).process(str, {from: data.path}); | ||
return result.css; | ||
}; |
{ | ||
"name": "hexo-autoprefixer", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Autoprefixer plugin for Hexo.", | ||
@@ -27,3 +27,4 @@ "main": "index", | ||
"minimatch": "^2.0.1", | ||
"object-assign": "^2.0.0" | ||
"object-assign": "^2.0.0", | ||
"postcss": "^4.1.11" | ||
}, | ||
@@ -30,0 +31,0 @@ "devDependencies": { |
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
3196
20
4
+ Addedpostcss@^4.1.11