Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- Fix: do not warn for "editor" field in `rescript.json`. https://github.com/rescript-lang/rescript/pull/8084
- Fix `@val` shadowing (rewrite using `globalThis`). https://github.com/rescript-lang/rescript/pull/8098
- Fix `@scope` shadowing (rewrite using `globalThis`). https://github.com/rescript-lang/rescript/pull/8100
- Fix rewatch panic on duplicate module name. https://github.com/rescript-lang/rescript/pull/8102

#### :memo: Documentation

Expand Down
2 changes: 1 addition & 1 deletion rewatch/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ pub fn initialize_build(
}

let mut build_state = BuildCommandState::new(project_context, packages, compiler, warn_error);
packages::parse_packages(&mut build_state);
packages::parse_packages(&mut build_state)?;

let compile_assets_state = read_compile_state::read(&mut build_state)?;

Expand Down
2 changes: 1 addition & 1 deletion rewatch/src/build/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ pub fn clean(path: &Path, show_progress: bool, plain_output: bool) -> Result<()>

let timing_clean_mjs = Instant::now();
let mut build_state = BuildState::new(project_context, packages, compiler_info);
packages::parse_packages(&mut build_state);
packages::parse_packages(&mut build_state)?;
let root_config = build_state.get_root_config();
let suffix_for_print = match root_config.package_specs {
None => match &root_config.suffix {
Expand Down
Loading
Loading