Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit307757b

Browse files
committed
Correct cmj reference
1 parent4a9f35e commit307757b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎_blogposts/2025-11-11-introducing-rewatch.mdx‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ Before we dive into ReWatch's innovations, it's worth understanding a key concep
4646
```
4747
Button.res (your source code)
4848
↓ compiler
49-
├─ Button.mjs # JavaScript code that runs in the browser
50-
├─ Button.cmi # The module's public interface
51-
└─ Button.cmj # Compiled module with implementation details
49+
├─ Button.mjs # JavaScript output
50+
├─ Button.cmi # Module's public API signature
51+
├─ Button.cmt # Typed AST
52+
└─ Button.cmj # Optimization metadata
5253
```
5354

5455
Think of the`.cmi` file as a contract or a table of contents for your module. It describes what other modules can see and import from your module. It contains your type definitions and function signatures, but only the public ones.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp