You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2025. It is now read-only.
Hey folks,
I recently put some of my webtask code into its own class and now want to use the CLI's bundle option to pull everything together. I am using one dependency (the twit library for Twitter) and ran into the following issues:
Using --bundle yields the error Uncaught error: Request body size exceeds 122880
Using --bundle-minify or --bundle-strict leads to successfully deploying the webtask, but then calling it yields Compilation failed: Cannot find module 'twit'
Did you run into something similar? It looks like --bundle includes the twit library, although I read here that the bundler is not supposed to do that, but rather track dependencies as externals. On the other hand, using --bundle-minify/--bundle-strict seems to lose the twit dependency altogether.
I am happy to work on this and file a PR if you could push me into the right direction.