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
Using mingo v6+ in an app built with webpack throws an error: Module not found: Error: Can't resolve 'console' in....
Webpack also includes the message: BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.
This is caused by importing assert from console in dateToString.ts and can be fixed by simply calling console.assert directly. A pull request for this is coming shortly.
The text was updated successfully, but these errors were encountered:
Using mingo v6+ in an app built with webpack throws an error:
Module not found: Error: Can't resolve 'console' in...
.Webpack also includes the message:
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.
This is caused by importing assert from console in
dateToString.ts
and can be fixed by simply callingconsole.assert
directly. A pull request for this is coming shortly.The text was updated successfully, but these errors were encountered: