Skip to content

Commit

Permalink
fix up gallery build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolalysenko committed Oct 25, 2016
1 parent 9fa777f commit 90fcb22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8,224 deletions.
3 changes: 1 addition & 2 deletions bin/build-gallery.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var fs = require('fs')
var glob = require('glob')
var browserify = require('browserify')
var removeCheck = require('./remove-check')
var ncp = require('ncp')
var mkdirp = require('mkdirp')
var es2020 = require('es2020')
Expand Down Expand Up @@ -356,7 +355,7 @@ mkdirp('www/gallery', function (err) {
debug: true
})
b.add(file)
b.transform(removeCheck)
b.transform(require('../browserify/transform'))
b.transform(es2020)
b.bundle(function (err, bundle) {
if (err) {
Expand Down
Loading

0 comments on commit 90fcb22

Please sign in to comment.