Skip to content

Commit b8c62de

Browse files
committed
Upgrade bs-platform to 8.4
1 parent 45ca8ad commit b8c62de

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
"devDependencies": {
4040
"@glennsl/bs-jest": "^0.6.0",
4141
"@snowpack/app-scripts-react": "^1.12.6",
42-
"@snowpack/plugin-run-script": "^2.2.0",
42+
"@snowpack/plugin-run-script": "^2.2.1",
4343
"@testing-library/jest-dom": "^5.11.5",
4444
"@testing-library/react": "^11.1.1",
45-
"bs-platform": "^8.3.2",
45+
"bs-platform": "^8.4.2",
4646
"bs-react-testing-library": "^0.8.0",
4747
"jest": "^26.6.3",
4848
"react": "^17.0.1",
4949
"react-dom": "^17.0.1",
5050
"reason-react": "^0.9.1",
51-
"snowpack": "^2.16.1"
51+
"snowpack": "^2.18.5"
5252
}
5353
}

src/App.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@bs.module("./logo.svg") external logo: string = "default"
1+
@module("./logo.svg") external logo: string = "default"
22

33
%%raw(`import './App.css';`)
44

src/index.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ ReactDOMRe.renderToElementWithId(<App />, "root")
44

55
// Hot Module Replacement (HMR) - Remove this snippet to remove HMR.
66
// Learn more: https://www.snowpack.dev/#hot-module-replacement
7-
@bs.scope(("import", "meta")) @bs.val external hot: bool = "hot"
7+
@scope(("import", "meta")) @val external hot: bool = "hot"
88

9-
@bs.scope(("import", "meta", "hot")) @bs.val
9+
@scope(("import", "meta", "hot")) @val
1010
external accept: unit => unit = "accept"
1111

1212
if hot {

0 commit comments

Comments
 (0)