Skip to content

Commit 05a78f2

Browse files
authored
Fix typos in interop-with-js-build-systems (#265)
1 parent c877af8 commit 05a78f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pages/docs/manual/latest/interop-with-js-build-systems.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ This will:
4646

4747
"What if my build system uses a CSS/png/whatever loader and I'd like to use it in ReScript?"
4848

49-
Loaders are indeed troublesome; in the meantime, please use e.g. `%raw(`require('./myStyles.css')`)` at the top of your file. This just uses [`raw`](embed-raw-javascript.md) to compile the snippet into an actual JS require.
49+
Loaders are indeed troublesome; in the meantime, please use e.g. `%raw("require('./myStyles.css')")` at the top of your file. This just uses [`raw`](embed-raw-javascript.md) to compile the snippet into an actual JS require.
5050

5151
## Getting Project's Dependencies
5252

53-
`bsb` generates one `MyFile.mlast.d` file per `MyFile` source file; you'll find them in `lib/bs`. These are human readable, machine-friendly list of the dependencies of said `MyFile`. You can read into them for your purpose (though mind the IO overhead). Use these files instead of creating your own dependency graph; we did the hard work of tracking the dependencies as best as possible (including inner modules, `open`s, module names overlap, etc).
53+
`bsb` generates one `MyFile.d` file per `MyFile` source file; you'll find them in `lib/bs`. These are human readable, machine-friendly list of the dependencies of said `MyFile`. You can read into them for your purpose (though mind the IO overhead). Use these files instead of creating your own dependency graph; we did the hard work of tracking the dependencies as best as possible (including inner modules, `open`s, module names overlap, etc).
5454

5555
## Run Script Per File Built
5656

pages/docs/manual/v8.0.0/interop-with-js-build-systems.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This will:
4646

4747
"What if my build system uses a CSS/png/whatever loader and I'd like to use it in ReScript?"
4848

49-
Loaders are indeed troublesome; in the meantime, please use e.g. `%raw(`require('./myStyles.css')`)` at the top of your file. This just uses [`raw`](embed-raw-javascript.md) to compile the snippet into an actual JS require.
49+
Loaders are indeed troublesome; in the meantime, please use e.g. `%raw("require('./myStyles.css')")` at the top of your file. This just uses [`raw`](embed-raw-javascript.md) to compile the snippet into an actual JS require.
5050

5151
## Getting Project's Dependencies
5252

0 commit comments

Comments
 (0)