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
viz does check running environment. when running in node envrionment viz require('fs').
I use viz in browser, but the require('fs') is still there, webpack can't find fs module and compile fail
How can I use viz with webpack?
The text was updated successfully, but these errors were encountered:
This indicates that the "fs", "path", and "crypto" packages should be empty objects in a browser context, since they aren't actually required in that case even though require statements are present. This prevents webpack, etc. from trying to include them. Addresses #83.
viz does check running environment. when running in node envrionment viz
require('fs')
.I use viz in browser, but the
require('fs')
is still there, webpack can't find fs module and compile failHow can I use viz with webpack?
The text was updated successfully, but these errors were encountered: