Skip to content

Commit 064fe13

Browse files
committed
Removed uncss - it's now part of the deploy task
1 parent 5af5055 commit 064fe13

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superfly-css-task-build",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "Build task for superfly-css modules",
55
"main": "src/main/js/index.js",
66
"scripts": {
@@ -27,7 +27,6 @@
2727
"dependencies": {
2828
"autoprefixer": "^6.7.2",
2929
"gulp-postcss": "^6.3.0",
30-
"gulp-uncss": "^1.0.6",
3130
"postcss-apply": "^0.5.0",
3231
"postcss-calc": "^5.3.1",
3332
"postcss-color-function": "^3.0.0",

src/main/js/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ var pc_reporter = require('postcss-reporter');
1111
var pc_custom_media = require('postcss-custom-media');
1212
var autoprefixer = require('autoprefixer');
1313

14-
var uncss = require('gulp-uncss');
15-
1614
var PLI = require('superfly-css-pli');
1715

1816
var processors = [pc_import, pc_each, pc_for, pc_custom_properties, pc_apply, pc_calc, pc_color_function, pc_custom_media, autoprefixer, pc_reporter({
@@ -26,8 +24,5 @@ gulp.task('build:css', function() {
2624

2725
return gulp.src(PLI.SRC_TEST_CSS)
2826
.pipe(pc(processors))
29-
.pipe(uncss({
30-
html: [PLI.SRC_TEST_HTML]
31-
}))
3227
.pipe(gulp.dest(PLI.target.test.css));
3328
});

0 commit comments

Comments
 (0)