Hi,
-
Firstly, thanks for this amazing lib.
-
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.
- 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
Hi,
Firstly, thanks for this amazing lib.
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).
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.
Note: in development setup, I do not see this error as node takes care of rendering it.
Thanks,
Shankar