Skip to content

Commit

Permalink
Import babylon from '@babel/parser'
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottsj committed Dec 4, 2018
1 parent 3ee74e9 commit 1912831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parser/ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

'use strict';

const babylon = require('babylon');
const babylon = require('@babel/parser');
const options = require('./tsOptions');

/**
Expand Down
2 changes: 1 addition & 1 deletion parser/tsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

const _ = require('lodash');
const babylon = require('babylon');
const babylon = require('@babel/parser');
const baseOptions = require('./tsOptions');

const options = _.merge(baseOptions, { plugins: ['jsx'] });
Expand Down

0 comments on commit 1912831

Please sign in to comment.