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

Add browser field so bundlers don't bundle node files #119

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

Robdel12
Copy link
Contributor

@Robdel12 Robdel12 commented Apr 3, 2019

What is this?

This adds a browser field to the agent package.json so bundlers like webpack, parcel, rollup, etc won't bundle our node process code with the code we inject into the browser. This will solve this issue: percy/percy-cypress#58 so folks no longer need to modify their webpack config due to errors originating in agent.

Copy link
Contributor

@djones djones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍍 LGTM. Not sure what's up with that snyk build

@Robdel12 Robdel12 merged commit 9405cbc into master Apr 3, 2019
@Robdel12 Robdel12 deleted the rd/add-browser-field branch April 3, 2019 16:57
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.

2 participants