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

Issue when bundling #137

Open
shankar-n-subramanian opened this issue Oct 8, 2021 · 0 comments
Open

Issue when bundling #137

shankar-n-subramanian opened this issue Oct 8, 2021 · 0 comments

Comments

@shankar-n-subramanian
Copy link

shankar-n-subramanian commented Oct 8, 2021

Hi,

  1. Firstly, thanks for this amazing lib.

  2. The lib works all fine when run locally (development setup), however when bundled, I see there is an issue as below when run from server (tomcat).

Uncaught ReferenceError: require is not defined
    at Object.<anonymous> (vendor.34adf1bb1fb42a79e6c9.js:2)

I am sure its something got to do with webpack config or so.. Could you please let me know what is that I could be missing that it is showing up this error.

  1. Can you please share the webpack config that ensures the bundling is not borken?

Note: in development setup, I do not see this error as node takes care of rendering it.

Thanks,
Shankar

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

No branches or pull requests

1 participant