Skip to content

Commit

Permalink
cleanup bower main
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ Ortega committed Apr 13, 2015
1 parent db3d999 commit a2790c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "polymer",
"version": "0.8.0-rc.4",
"main": [
"polymer.html"
"polymer*.html",
"src/**/*.html"
],
"license": "http://polymer.github.io/LICENSE.txt",
"ignore": [
Expand Down
6 changes: 2 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var gulp = require('gulp');
var replace = require('gulp-replace');
var shell = require('gulp-shell');
var sequence = require('gulp-sequence');

var polyclean = require('polyclean');

Expand All @@ -25,7 +24,7 @@ gulp.task('micro', shell.task(vulcanize(micro, 'dist')));
gulp.task('mini', shell.task(vulcanize(mini, 'dist', [micro])));
gulp.task('max', shell.task(vulcanize(max, 'dist', [mini, micro])));

gulp.task('strip', function() {
gulp.task('strip', ['micro', 'mini', 'max'], function() {
return gulp.src('dist/*.html')
.pipe(polyclean.cleanJsComments())
// Get rid of erroneous html comments
Expand All @@ -39,7 +38,6 @@ gulp.task('strip', function() {
.pipe(gulp.dest('dist'));
});

gulp.task('build', sequence(['micro', 'mini', 'max'], 'strip'))

// Default Task
gulp.task('default', ['build']);
gulp.task('default', ['strip']);
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"devDependencies": {
"gulp": "^3.8.11",
"gulp-sequence": "^0.3.2",
"gulp-shell": "^0.4.0",
"polyclean": "0.0.1",
"vulcanize": "^1.1.0"
Expand Down

0 comments on commit a2790c1

Please sign in to comment.