Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A potential workaround here is to force webpack into the browser-compatible branch, using the [DefinePlugin](https://webpack.js.org/plugins/define-plugin/): #169

Closed
435352980 opened this issue Oct 11, 2019 · 0 comments

Comments

@435352980
Copy link

A potential workaround here is to force webpack into the browser-compatible branch, using the DefinePlugin:

new webpack.DefinePlugin({
  'typeof process':  JSON.stringify('undefined'),
}),

We're currently using this successfully (wowserhq/client@8c61884) but it's worth noting that it may break other parts of the build that actually do rely on process using a typeof-check.

Originally posted by @timkurvers in #156 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant