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

fix: ensure that including dist/opossum.js works #341

Merged
merged 1 commit into from
Jun 21, 2019
Merged

Conversation

lance
Copy link
Member

@lance lance commented Jun 21, 2019

The node-specific webpack configuration was overwriting the
config for the browser. Thus the distribution had a non-browser
capable implementation that required some work on the user's
part to get working in the browser. The user's webpack.config
required an external declaration for prom-client. For example:
lance/elizabethan-insults@ebabdf3#diff-23fce1009af5652674e09470cda3c008R9

Fixes: #338

The node-specific webpack configuration was overwriting the
config for the browser. Thus the distribution had a non-browser
capable implementation that required some work on the user's
part to get working in the browser. The user's webpack.config
required an external declaration for `prom-client`. For example:
lance/elizabethan-insults@ebabdf3#diff-23fce1009af5652674e09470cda3c008R9
@lance lance requested review from helio-frota and lholmquist June 21, 2019 19:54
@lance lance self-assigned this Jun 21, 2019
@lance lance merged commit 873deb5 into master Jun 21, 2019
@helio-frota helio-frota deleted the 338-webpack-config branch July 28, 2020 12:29
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

Successfully merging this pull request may close these issues.

Uncaught ReferenceError: global is not defined using 2.x version in the Browser
2 participants