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
treydibler edited this page Oct 10, 2018
·
9 revisions
If you use TweetNaCl.js with Webpack, it will include a lot of useless Node shims, because TweetNaCl.js tries to be compatible with browsers and Node.js.
To avoid this, tell Webpack not to parse TweetNaCl.js and tweak exported/imported variables with exports-loader and imports-loader in config (here we also do this for TweetNaCl-auth plugin):