Skip to content

Commit d0da99c

Browse files
authored
Merge pull request #15 from DZakh-forks/use-rescript-core
Use @rescript/core
2 parents 778a4d7 + 613da72 commit d0da99c

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

bsconfig.json

+2-1
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+
"bsc-flags": ["-open RescriptCore"],
13+
"bs-dependencies": ["@rescript/core"]
1314
}

package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
{
22
"name": "rescript-project-template",
33
"version": "0.0.1",
4+
"keywords": [
5+
"rescript"
6+
],
7+
"license": "MIT",
8+
"author": "",
49
"scripts": {
510
"res:build": "rescript",
611
"res:clean": "rescript clean",
712
"res:dev": "rescript build -w"
813
},
9-
"keywords": [
10-
"rescript"
11-
],
12-
"author": "",
13-
"license": "MIT",
1414
"dependencies": {
15+
"@rescript/core": "*",
1516
"rescript": "*"
1617
}
1718
}

src/Demo.res

+1-1
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)