generated from sonofmagic/monorepo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a50930
commit 290859a
Showing
5 changed files
with
626 additions
and
412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
export { default as generate } from '@babel/generator' | ||
export { default as traverse } from '@babel/traverse' | ||
export { parse } from '@babel/parser' | ||
import _babelGenerate from '@babel/generator' | ||
import _babelTraverse from '@babel/traverse' | ||
|
||
export { parse, parseExpression } from '@babel/parser' | ||
|
||
function _interopDefaultCompat(e: any) { | ||
return e && typeof e === 'object' && 'default' in e ? e.default : e | ||
} | ||
|
||
export const generate = _interopDefaultCompat(_babelGenerate) as typeof _babelGenerate | ||
|
||
export const traverse = _interopDefaultCompat(_babelTraverse) as typeof _babelTraverse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.