Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
feat(.babelrc): add "flow" preset
Browse files Browse the repository at this point in the history
add "flow" preset
  • Loading branch information
Metnew committed Aug 23, 2017
1 parent 4d4388c commit 34334ba
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"plugins": [
"lodash",
["lodash", {"id": ["lodash", "semantic-ui-react"]}],
[
"transform-runtime",
{
Expand All @@ -10,18 +10,15 @@
"moduleName": "babel-runtime"
}
],
"transform-decorators-legacy",
"syntax-dynamic-import"
],
"presets": ["es2015", "react", "stage-0"],
"presets": ["es2015", "react", "stage-0", "flow"],
"env": {
"production": {
"presets": ["react-optimize"]
},
"development": {
"plugins": [
"react-hot-loader/babel"
]
"plugins": ["react-hot-loader/babel"]
},
"test": {
"plugins": [
Expand Down

1 comment on commit 34334ba

@Metnew
Copy link
Owner Author

@Metnew Metnew commented on 34334ba Sep 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheDolo, just have pushed new update, dev mode is stable, but production build still requires some improvements

Please sign in to comment.