Skip to content

Commit b1ecde6

Browse files
authored
more tweaks (#322)
* Use lockfile version 2 * Small cleanups
1 parent db81a45 commit b1ecde6

8 files changed

+7243
-36
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@ npm i
3030
npm run update-index
3131

3232
# Initial build
33-
npm run res:build
33+
npx rescript
3434

3535
# Build the index data
3636
npm run update-index
3737

3838
# In a new tab
3939
npm run dev
4040

41-
# then open localhost:3000
41+
open localhost:3000
4242
```
4343

4444
In case you want to run ReScript in watchmode:
4545

4646
```sh
47-
npm run res:start
47+
npx rescript build -w
4848
```
4949

5050
## Build Index Data

bsconfig.json

-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/rescript-lang/rescript-compiler/master/docs/docson/build-schema.json",
32
"name": "rescript-lang.org",
43
"namespace": false,
54
"reason": {
65
"react-jsx": 3
76
},
8-
"refmt": 3,
97
"bs-dependencies": [
108
"@rescript/react",
119
"@glennsl/bs-json",
@@ -32,7 +30,6 @@
3230
},
3331
"suffix": ".mjs",
3432
"bsc-flags": [
35-
"-bs-super-errors",
3633
"-bs-g"
3734
],
3835
"gentypeconfig": {

0 commit comments

Comments
 (0)