Skip to content

Conversation

NathanWalker
Copy link
Contributor

@NathanWalker NathanWalker commented Jul 16, 2025

  • Conditionally detects .mjs (esm) or .js bundled code
  • Loads and executes ES modules
  • When module or javascript errors occur, they are caught and proper file/line numbers are printed for better diagnosing

TODO:

  • cleanup a few logs or conditionally hide them under the new logScriptLoading nativescript.config flag.

@NathanWalker NathanWalker added this to the 9.0 milestone Jul 16, 2025
@NathanWalker NathanWalker changed the title feat: allow conditional esm consumption + better error handling feat: ES modules (ESM) support with conditional esm or commonjs consumption + better error handling Jul 25, 2025
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

Successfully merging this pull request may close these issues.

1 participant