Skip to content

Commit

Permalink
de-dup babel-register
Browse files Browse the repository at this point in the history
  • Loading branch information
puncsky committed Feb 13, 2019
1 parent 48aa449 commit 5a84cd2
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions babel-register.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,2 @@
require('@babel/register')({
presets: [
['@babel/preset-env', {
targets: {
node: 'current',
},
}],
['@babel/preset-flow'],
],
plugins: [
'@babel/plugin-transform-flow-strip-types',
'@babel/plugin-proposal-object-rest-spread',
'transform-class-properties',
],
ignore: [
/node_modules\//g,
],
});
require('@babel/register')(require('./babel.config'));
require('@babel/polyfill');

0 comments on commit 5a84cd2

Please sign in to comment.