Permalink
Browse files

Make code work on Node 4

  • Loading branch information...
1 parent b01a258 commit 4a2c7b5fab40327e8390fddabba71bd4264914df @taion taion committed Aug 9, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/es2015Preset.js
@@ -1,6 +1,6 @@
-const { buildPreset } = require('babel-preset-es2015')
+const buildPreset = require('babel-preset-es2015').buildPreset
-const { BABEL_ENV } = process.env
+const BABEL_ENV = process.env.BABEL_ENV
module.exports = {
presets: [

0 comments on commit 4a2c7b5

Please sign in to comment.