Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
fix: fix babel-register config when module is globally installed
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Sep 19, 2018
1 parent 8105e60 commit 4697ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel-register.js
@@ -1,6 +1,6 @@
/* eslint-disable import/no-unassigned-import */
require('@babel/register')({
only: ['lib', 'cli.js', 'node_modules/got', 'node_modules/cacheable-request'],
only: [/travis-deploy-once\/(lib|cli.js)/, /node_modules\/(got|cacheable-request)/],
presets: [['@babel/preset-env', {targets: {node: 'current'}, useBuiltIns: 'entry'}]],
});
require('@babel/polyfill');

0 comments on commit 4697ad5

Please sign in to comment.