8000 fix: remove "browser" field in package.json by antfu · Pull Request #424 · vuejs/composition-api · GitHub
[go: up one dir, main page]

Skip to content

fix: remove "browser" field in package.json #424

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& 8000 rdquo;, 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

Merged
merged 2 commits into from
Jul 5, 2020

Conversation

antfu
Copy link
Member
@antfu antfu commented Jul 4, 2020

Fix #422

Webpack has a higher priority to resolve the browser field in package.json, which should not be a production build. Removing this will make it uses the "module" field in which the env will be handled by the bundler.q

https://github.com/vuejs/vue/blob/dev/package.json

@antfu antfu merged commit 4ebeda4 into vuejs:master Jul 5, 2020
@antfu antfu deleted the fix/remove-browser-mainfield branch July 5, 2020 08:24
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.

VueDevTools doesn't pick the Component's state
1 participant
0