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 resolved external id normalization bug #2961

Closed
wants to merge 1 commit into from
Closed

Fix resolved external id normalization bug #2961

wants to merge 1 commit into from

Conversation

jstarry
Copy link

@jstarry jstarry commented Jun 23, 2019

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

When plugins return an object result for resolveId (like here: https://github.com/rollup/rollup-plugin-node-resolve/blob/master/src/index.js#L301) external ids should be be normalized.

@jstarry
Copy link
Author

jstarry commented Jun 23, 2019

Closing because this is intentional behaviour: #2907

@jstarry jstarry closed this Jun 23, 2019
@lukastaegert
Copy link
Member

The idea is that when a plugin is using the object form, the plugin is in a position to do any normalization itself. If this is causing issues, we can talk about this (such as adding additional information to the object whether we should do renormalization or allowing an additional value such as external: "renormalize")

@jstarry jstarry deleted the fix-resolved-id-result-bug branch June 23, 2019 16:47
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.

None yet

2 participants