Skip to content

Commit

Permalink
run es2020 on all examples in gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolalysenko committed Sep 11, 2016
1 parent eada15d commit d1b5e56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/build-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var browserify = require('browserify')
var removeCheck = require('./remove-check')
var ncp = require('ncp')
var mkdirp = require('mkdirp')
var es2020 = require('es2020')
var ClosureCompiler = require('google-closure-compiler').compiler

function pageName (file) {
Expand Down Expand Up @@ -356,6 +357,7 @@ mkdirp('www/gallery', function (err) {
})
b.add(file)
b.transform(removeCheck)
b.transform(es2020)
b.bundle(function (err, bundle) {
if (err) {
throw err
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"deglob": "^1.1.1",
"dependency-check": "^2.6.0",
"disc": "^1.3.2",
"es2020": "^1.1.9",
"falafel": "^1.2.0",
"faucet": "0.0.1",
"fuse-vertices": "^0.1.2",
Expand Down

0 comments on commit d1b5e56

Please sign in to comment.