Skip to content

Do not crash when source plugins conflict. #3180

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

Closed
wants to merge 2 commits into from

Conversation

musically-ut
Copy link
Contributor

Fixes #3179.

This is one approach to solve the problem by keeping the pkg information around until we have finished loading all the source handlers. This information is discarded afterwards.

sourcePath: compileStep.inputPath
};
allHandlersWithPkgs['js'] = {
pkg: { /* native handler */ },
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's just store packageName (or null) directly instead of pkg that we only use for its name

@glasser
Copy link
Contributor

glasser commented Dec 5, 2014

Thanks! Comments inline.

 1. Use allHandlersWithPkgs instead of duplicating data in allHandlers
 2. Save only the pkg names instead of the whole packages
@musically-ut
Copy link
Contributor Author

@glasser Have incorporated the feedback into the PR. I can rebase off current devel and create a new pull request if there are conflicts.

glasser pushed a commit that referenced this pull request Dec 11, 2014
@glasser
Copy link
Contributor

glasser commented Dec 11, 2014

Thanks, merged!

@glasser glasser closed this Dec 11, 2014
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.

Meteor crashes on encountering build plugins.
2 participants