Skip to content

Commit

Permalink
benchmark: use version specific babel (#2087)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Aug 13, 2019
1 parent d78b445 commit 0cd1903
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/benchmark.js
Expand Up @@ -73,7 +73,8 @@ function babelBuild(dir) {
rmdirRecursive('./benchmarkDist');
mkdirRecursive('./benchmarkDist');

const babel = require('@babel/core');
const babelPath = path.join(dir, 'node_modules', '@babel', 'core');
const babel = require(babelPath);
for (const filepath of readdirRecursive('./src')) {
const srcPath = path.join('./src', filepath);
const distPath = path.join('./benchmarkDist', filepath);
Expand Down

0 comments on commit 0cd1903

Please sign in to comment.