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

Add esbuild bundler #145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add esbuild bundler #145

wants to merge 1 commit into from

Conversation

rahul1
Copy link
Member

@rahul1 rahul1 commented Apr 28, 2023

Previously:
All code for a bot had to live in the same file as the handler function. This made Bot files potentially large, unwieldy, and redundant

Now:
Bots can share code through imported files. The esbuild bundler inlines imported functions into the compiled Bot's out js file, allowing code to be shared in utility files.

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