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
Because the require keyword is present in zen-observable.js as a parameter, webpack tries to bundle all of the files in the root folder. Could the project be changed do maybe instead of calling the variable require instead call it requireFn? That way require can be used in the way which build tools like webpack expect.
The text was updated successfully, but these errors were encountered:
Turns out require is actually needed in a node environment, I thought it was just a syntax sugar thing. Because it's not used maybe require can just be removed entirely?
Because the
require
keyword is present inzen-observable.js
as a parameter, webpack tries to bundle all of the files in the root folder. Could the project be changed do maybe instead of calling the variablerequire
instead call itrequireFn
? That wayrequire
can be used in the way which build tools like webpack expect.The text was updated successfully, but these errors were encountered: