Skip to content

Conversation

@williamjallen
Copy link
Collaborator

require() doesn't work with ESM build tools such as Vite without extensions. This PR converts our existing require() calls to dynamic import() calls, excluding code where require() is necessary in build system code.

@josephsnyder josephsnyder added this pull request to the merge queue Jan 7, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 7, 2026
@williamjallen williamjallen added this pull request to the merge queue Jan 7, 2026
Merged via the queue into Kitware:master with commit 8793af3 Jan 7, 2026
7 checks passed
@williamjallen williamjallen deleted the js-require-to-import branch January 7, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants