Skip to content

Commit be3ec45

Browse files
committed
Added postcss-each
1 parent 8597bc9 commit be3ec45

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superfly-css-task-build",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Build task for superfly-css modules",
55
"main": "src/main/js/index.js",
66
"scripts": {
@@ -25,11 +25,12 @@
2525
},
2626
"homepage": "https://github.com/superfly-css/superfly-css-task-build#readme",
2727
"dependencies": {
28-
"gulp-postcss": "^6.0.1",
2928
"autoprefixer": "^6.1.0",
29+
"gulp-postcss": "^6.0.1",
3030
"postcss-calc": "^5.0.0",
3131
"postcss-color-function": "^2.0.0",
3232
"postcss-custom-properties": "^5.0.0",
33+
"postcss-each": "^0.7.0",
3334
"postcss-import": "^7.0.0",
3435
"superfly-css-pli": "0.0.5"
3536
},

src/main/js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ var postcss_import = require('postcss-import');
44
var postcss_calc = require('postcss-calc');
55
var postcss_custom_properties = require('postcss-custom-properties');
66
var postcss_color_function = require('postcss-color-function');
7+
var postcss_each = require('postcss-each');
78
var autoprefixer = require('autoprefixer');
89

910
var PLI = require('superfly-css-pli');
1011

11-
var processors = [postcss_import, autoprefixer, postcss_calc, postcss_custom_properties, postcss_color_function];
12+
var processors = [postcss_import, postcss_each, autoprefixer, postcss_calc, postcss_custom_properties, postcss_color_function];
1213

1314
gulp.task('build:css', function() {
1415
return gulp.src(PLI.SRC_MAIN_CSS)

0 commit comments

Comments
 (0)