Commit fbc5781
Add .bs.js extension to resolve extensions for ReScript
Rspack needs explicit configuration to resolve ReScript compiled .bs.js files
from node_modules dependencies. Without this, ReScript library imports like
@glennsl/rescript-json-combinators fail to resolve.
This is critical for React on Rails apps using ReScript components.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 3fe61f0 commit fbc5781
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments