-
Notifications
You must be signed in to change notification settings - Fork 333
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
server/index.js requirement / typescript support #847
Comments
Hello, I am not sure what your essential question point is. Unfortunately, I have never used here is my currently solution:
and
currently, I use webpack { target: 'node' } and maybe, soon, https://deno.land/ could be better |
The point is to not hardcode file names and let users provide routing programmatically. It has little to do with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
It seems bottender has a hardwired path expecting an
index.js
in the same directory as you run the server.I'm moving a project to typescript so the raw source is under
src
and I usually run in dev withts-node
I'm wondering if there's a way to pass the routes file to botTender explicitly when starting up?
I'm not quite sure how to wire those things together, there seems to be some lazy loading going on with the routing currently.
Expected behavior
A more explicit way to startup a project, less magic requires happening behind the scenes...
This is mainly to support a project in typescript
The text was updated successfully, but these errors were encountered: