Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert remaining CJS modules to ESM #7310

Open
na9da opened this issue Nov 13, 2024 · 0 comments
Open

Convert remaining CJS modules to ESM #7310

na9da opened this issue Nov 13, 2024 · 0 comments
Assignees

Comments

@na9da
Copy link
Collaborator

na9da commented Nov 13, 2024

Required for #6998

Remove remaining CJS style modules from Terria. Mixing module styles is bad and confuses new webpack.

This requires:

  1. Replacing const x = require("x") with corresponding `import x from "x"' statements
  2. Replacing module.exports = with ESM style export default X
  3. Manually ensure every 'importer' of these modules are correctly importing the default exports.
@na9da na9da self-assigned this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant