Skip to content

Commit

Permalink
run es2020 on build-compare
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolalysenko committed Sep 11, 2016
1 parent b50617f commit e162506
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/build-compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,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

var ROOT_DIR = 'compare'
Expand Down Expand Up @@ -88,6 +89,7 @@ function handleCase (name, www, root, onComplete) {
b.add(sourcePath)
if (needsTransform) {
b.transform(removeCheck)
b.transform(es2020)
}
b.bundle(function (err, bundle) {
if (err) {
Expand Down

0 comments on commit e162506

Please sign in to comment.