Skip to content

Commit

Permalink
Simplify build. Static.render() now always returns a Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
wildlyinaccurate committed Aug 14, 2018
1 parent de281d8 commit 2048099
Show file tree
Hide file tree
Showing 26 changed files with 3,796 additions and 3,483 deletions.
12 changes: 10 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"presets": ["es2015"],
"plugins": ["add-module-exports"]
"presets": ["env"],
"plugins": [
"add-module-exports",
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
}
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"rules": {
"arrow-parens": ["error", "as-needed"],
"no-else-return": "error",
"no-multiple-empty-lines": "off"
"no-multiple-empty-lines": "off",
"no-unused-vars": ["error", { "varsIgnorePattern": "(h|es6)" }]
}
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
language: ruby

rvm:
- 2.3.1
- 2.5

before_install:
- nvm install node
Expand Down
Loading

0 comments on commit 2048099

Please sign in to comment.