Add flag for preserve jsx mode to rescript.json
@jfrolich I tried this after building locally, cargo build --release.
Then ../rescript/rewatch/target/release/rewatch in my own project, and this didn't get picked up. Any ideas why?
rescript
npm i https://pkg.pr.new/rescript-lang/rescript@7547
@rescript/darwin-arm64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7547
@rescript/darwin-x64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7547
@rescript/linux-arm64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7547
@rescript/linux-x64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7547
@rescript/win32-x64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7547
commit: 040dc5e
@jfrolich just try the pkg-pr version of this PR and the setting is not getting picked up. Any idea what I'm missing here?
I'm a bit confused why the other jsx compiler arguments are currently not passed down. But that last commit makes it work for me.
Hmm, I guess we can merge and revisit if passing the other jsx args turns out to be a bad thing.