Skip to content

Commit

Permalink
with-reasonml: use default exports (#4217)
Browse files Browse the repository at this point in the history
  • Loading branch information
rase- authored and timneutkens committed Apr 27, 2018
1 parent 4d9eb20 commit f378448
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
6 changes: 3 additions & 3 deletions examples/with-reasonml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "with-reasonml",
"version": "1.0.0",
"scripts": {
"dev": "concurrently \"bsb -clean-world -make-world -w\" \"next -w\"",
"build": "bsb -clean-world -make-world && next build",
"start": "bsb -clean-world -make-world && next start -w"
"dev": "bsb -clean-world -make-world && next dev lib/js",
"build": "bsb -clean-world -make-world && next build lib/js",
"start": "next start lib/js"
},
"license": "ISC",
"dependencies": {
Expand Down
4 changes: 0 additions & 4 deletions examples/with-reasonml/pages/about.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ let make = (_children) => {
</div>
};

let jsComponent = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));
let default = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));
3 changes: 0 additions & 3 deletions examples/with-reasonml/pages/index.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ let make = (_children) => {
</div>
};

let jsComponent = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));
let default = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));

0 comments on commit f378448

Please sign in to comment.