Skip to content

Commit

Permalink
Fix extension name in babel config (#158)
Browse files Browse the repository at this point in the history
An extension name should start with a `.` in the `extensions` option of babel config. (As described here: https://babeljs.io/docs/en/babel-core#default-extensions)
  • Loading branch information
EqualMa authored and ezolenko committed Jul 2, 2019
1 parent f262b55 commit 1404c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -78,8 +78,8 @@ import { DEFAULT_EXTENSIONS } from '@babel/core';
babel({
extensions: [
...DEFAULT_EXTENSIONS,
'ts',
'tsx'
'.ts',
'.tsx'
]
}),
...
Expand Down

0 comments on commit 1404c73

Please sign in to comment.