We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4945ea commit 5bb1eadCopy full SHA for 5bb1ead
src/helpers.rs
@@ -148,9 +148,13 @@ pub fn create_build_path(build_path: &str) {
148
149
pub fn get_rescript_legacy(root_path: &str, workspace_root: Option<String>) -> String {
150
match (
151
- PathBuf::from(format!("{}/node_modules/rescript/rescript", root_path)).canonicalize(),
+ PathBuf::from(format!("{}/node_modules/rescript/rescript-legacy", root_path)).canonicalize(),
152
workspace_root.map(|workspace_root| {
153
- PathBuf::from(format!("{}/node_modules/rescript/rescript", workspace_root)).canonicalize()
+ PathBuf::from(format!(
154
+ "{}/node_modules/rescript/rescript-legacy",
155
+ workspace_root
156
+ ))
157
+ .canonicalize()
158
}),
159
) {
160
(Ok(path), _) => path,
0 commit comments