-
Notifications
You must be signed in to change notification settings - Fork 6k
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
webpack error building javascript generated client #3537
Comments
Can you provide more details? Are you trying to modify Swagger Editor code base? |
From @zsimo on August 4, 2016 9:39 Hello, No, I just try to edit the client source code generated by the Swagger Editor.
or via Webpack configs:
Have you ever try to bundle your Js client generated code via Webpack? Thanks! |
This is a Codegene issue. let me move your issue there. |
i wrote a template for webpack build. may help |
@hasangilak thanks for sharing the link. Is that something we can add back to the JS generator? I'm sure the JS developers would welcome the enhancements. |
It seems to be a duplicate of #3466. |
I think you're right but I can't seem to do what was advised |
Closed via #3466 (comment) |
From @zsimo on August 3, 2016 16:17
Swagger File
Issue
Hello!
It seems Webpack (I'm using 1.13.1) fail to manage AMD syntax: by changing the source code, forcing to use CommonJs syntax Webpack succeeds in compiling the scripts. Can you please try/fix?
Thanks!
Copied from original issue: swagger-api/swagger-editor#1035
The text was updated successfully, but these errors were encountered: