-
Notifications
You must be signed in to change notification settings - Fork 39
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
capnp-ts fails to generate bundle.js correctly with webpack #86
Comments
I changed the build to use commonjs format modules, not UMD (what was I thinking?). That should resolve your problem here; try out 0.2.4 and reopen if it's still broken. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to compile capnp-ts with webpack to run it on the browser, I have a very similar code example as the README.md, but if it's needed, I can write it here to help.
The problem when I run the webpack command is that webpack return several warnings like this:
Webpack does generate a bundle.js in the end, bug when I run it, I got error
Error: Cannot find module "."
in the firefox webtools console.So, my question is, how can I generate the webpack bundle.js correctly?
The text was updated successfully, but these errors were encountered: