Skip to content

Commit 19731ef

Browse files
committed
Use Core in basic example, too
1 parent 14718e5 commit 19731ef

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

templates/rescript-template-basic/bsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
"in-source": true
1010
},
1111
"suffix": ".bs.js",
12-
"bs-dependencies": []
12+
"bs-dependencies": ["@rescript/core"],
13+
"bsc-flags": ["-open RescriptCore"]
1314
}

templates/rescript-template-basic/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"author": "",
1313
"license": "MIT",
1414
"dependencies": {
15-
"rescript": "*"
15+
"@rescript/core": "^0.1.0",
16+
"rescript": "^10.1.2"
1617
}
1718
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Js.log("Hello, World!")
1+
Console.log("Hello, World!")

0 commit comments

Comments
 (0)