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
From Webpack v5 node modules are no longer available in the browser. It looks like the only node polyfill required is for process for accessing process.env.
This lib will need to built with babel/webpack (which might also mean that the tests need to be updated to use Jest). You can see how I did this for bakeryjs here: juju/bakeryjs#39.
The text was updated successfully, but these errors were encountered:
From Webpack v5 node modules are no longer available in the browser. It looks like the only node polyfill required is for
process
for accessingprocess.env
.At the moment we're making that available in juju-dashboard here: https://github.com/canonical/jaas-dashboard/blob/main/src/index.js#L35.
This lib will need to built with babel/webpack (which might also mean that the tests need to be updated to use Jest). You can see how I did this for bakeryjs here: juju/bakeryjs#39.
The text was updated successfully, but these errors were encountered: