Skip to content

Commit 07d912f

Browse files
committed
example project: use legacy build to enable renalyze to run, and in fact repro the crash
1 parent dd21853 commit 07d912f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

analysis/examples/example-project/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"rescript": "12.0.2"
66
},
77
"scripts": {
8-
"build": "rescript",
9-
"start": "rescript build -w",
10-
"clean": "rescript clean",
8+
"build": "rescript-legacy",
9+
"start": "rescript-legacy build -w",
10+
"clean": "rescript-legacy clean -with-deps",
1111
"format": "rescript format"
1212
}
1313
}

analysis/examples/example-project/rescript.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"warnings": {
66
"number": "-32-26-27-33"
77
},
8-
"dependencies": ["@rescript/react"],
8+
"dependencies": [
9+
"@rescript/react"
10+
],
911
"jsx": {
1012
"version": 4
1113
},
@@ -15,4 +17,4 @@
1517
"in-source": true,
1618
"suffix": ".res.js"
1719
}
18-
}
20+
}

0 commit comments

Comments
 (0)