We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e82827 + 09dc914 commit ae8fda7Copy full SHA for ae8fda7
2 files changed
index.js
@@ -1,7 +1,6 @@
1
-module.exports = mediaMinmax
+var postcss = require('postcss');
2
3
-
4
-function mediaMinmax() {
+module.exports = postcss.plugin('postcss-media-minmax', function () {
5
return function(css) {
6
//支持 min-/max- 前缀的属性
7
var feature_name = [
@@ -74,4 +73,4 @@ function mediaMinmax() {
74
73
});
75
76
}
77
-}
+});
package.json
@@ -13,7 +13,7 @@
13
"css",
14
"css3",
15
"postcss",
16
- "postcss-plugins",
+ "postcss-plugin",
17
"media querie",
18
"media queries"
19
],
@@ -26,8 +26,10 @@
26
"LICENSE",
27
"index.js"
28
29
+ "dependencies": {
30
+ "postcss": "^4.1.14"
31
+ },
32
"devDependencies": {
- "postcss": "^4.0.2",
33
"tape": "^3.0.0"
34
},
35
"bugs": {
0 commit comments