Skip to content

fix: "commonjs2" target should not be used with "output.library" #6218

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

haoqunjiang
Copy link
Member

Closes #6188

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

@haoqunjiang haoqunjiang merged commit 45aca81 into vuejs:dev Jan 21, 2021
@haoqunjiang haoqunjiang deleted the fix-commonjs2-webpack5 branch January 21, 2021 02:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent bundle behavior of CommonJS between webpack4 and webpack5
2 participants