File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
pages/docs/manual/v12.0.0 Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,22 @@ Also remove auto opening of `RescriptCore`.
4646Some typical name changes include:
4747
4848` Error.t ` -> ` JsError.t `
49- ` raise( ` -> ` throw( `
49+ ` raise( ` -> ` throw( `
5050` Js.Exn.Error ` exception -> ` JsExn `
5151` Error.make ` -> ` JsExn.make `
5252` Error.raise ` -> ` JsExn.raise `
53- ` Error.message ` -> ` JsExn.message `
54- ` Int.Bitwise.lsl ` -> ` Int.shiftLeft `
53+ ` Error.message ` -> ` JsExn.message `
54+ ` Int.Bitwise.lsl ` -> ` Int.shiftLeft `
5555
56+ ## Configuration
5657
58+ Rename ` bsconfig.json ` to ` rescript.json ` and update these configuration options:
5759
60+ - ` bs-dependencies ` → ` dependencies `
61+ - ` bs-dev-dependencies ` → ` dev-dependencies `
62+ - ` bsc-flags ` → ` compiler-flags `
63+
64+ ### jsx
65+
66+ - Set ` version ` to ` 4 ` (lower versions are not supported)
67+ - Remove ` mode ` option (automatically set to ` automatic ` )
You can’t perform that action at this time.
0 commit comments