Skip to content

Commit b5af4fd

Browse files
improve documentation
1 parent dff8f85 commit b5af4fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler-core/src/build/project_compiler.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ where
188188
// verify that this version is appropriate.
189189
self.check_gleam_version()?;
190190

191-
// Check if JavaScript configuration has changed
191+
// Checks if JavaScript configuration has changed since the last build (particularly TypeScript declarations)
192+
// and rebuilds the project if necessary to ensure consistent compilation with current settings
192193
self.rebuild_if_javascript_config_changed()?;
193194

194195
// The JavaScript target requires a prelude module to be written.

0 commit comments

Comments
 (0)