Skip to content

Commit

Permalink
build: Use babel preset typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenOutman committed Apr 21, 2020
1 parent a498111 commit 9db7377
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 30 deletions.
5 changes: 3 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react", "rsuite"],
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript", "rsuite"],
"env": {
"test": {
"plugins": ["istanbul"]
Expand Down Expand Up @@ -31,6 +31,7 @@
],
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-do-expressions",
"@babel/plugin-proposal-function-bind"
"@babel/plugin-proposal-function-bind",
"dev-expression"
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ assets/
yarn.lock

.idea
es/
*.tgz
Loading

0 comments on commit 9db7377

Please sign in to comment.