-
Notifications
You must be signed in to change notification settings - Fork 203
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
Unable to bundle code with dependencies #243
Comments
Before what? After what? |
I meant that before I introduce this module into my project, the bundled code could directly by ran by passing in 'node' command. Now it would give the error above |
I'm guessing that you want to use it inside a browser with a terminal emulator. You have to use |
Actually, no. I am creating a Node command line app. I am trying to use Node 21's single executable file function, so I would need to bundle all my code including external modules into a single file so that I can then compile it. |
Ok, so you need to include all source file manually. You can use |
I can properly bundle my code before using this module with Rollup, but now after it is bundled, it gives an error:
I tried setting dynamicRequireTargets to
./termconfig/xterm.generic.js
, but this does not solve the problemThe text was updated successfully, but these errors were encountered: