Skip to content

Conversation

sronveaux
Copy link
Contributor

This PR resolves #2462

Should also resolve #234 even though a bit late now ;-)

Simply inverts browser and require exports definition inside package.json so that Webpack-powered projects running tests in a browser context (and not in Node) take the correct build while bundling.
See #2462 for detailed discussions.

Copy link

netlify bot commented Aug 26, 2024

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit a635eb7
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/66cc532b5e254600081f513d
😎 Deploy Preview https://deploy-preview-2501--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@cexbrayat cexbrayat left a comment

Choose a reason for hiding this comment

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

Thanks for the PR 👍

@cexbrayat cexbrayat merged commit e3c8827 into vuejs:main Aug 26, 2024
6 checks passed
@sronveaux sronveaux deleted the issue-2462-fix branch August 26, 2024 14:43
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.

Bug: ReferenceError: Vue is not defined - Missing exports declaration ? ReferenceError: Vue is not defined
2 participants