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

multi plugin for same file only execute one #902

Closed
466023746 opened this issue Feb 27, 2018 · 3 comments
Closed

multi plugin for same file only execute one #902

466023746 opened this issue Feb 27, 2018 · 3 comments

Comments

@466023746
Copy link

466023746 commented Feb 27, 2018

when multi plugin with same file, eg: parcel-plugin-vue & parcel-plugin-url-loader
both add packager for js, but only one is execute, is this the correct behavior?

🌍 Your Environment

Software Version(s)
Parcel 1.6.2
@466023746 466023746 changed the title multi plugin for same file multi plugin for same file only execute one Feb 27, 2018
@DeMoorJasper
Copy link
Member

This is sort of not a bug, but just how the plugin architecture in parcel works.
Perhaps we should open up an RFC to discuss a more extendable architecture for plugins, but this would probably be a major breaking change and require every plugin to update.

@DeMoorJasper DeMoorJasper added the 💬 RFC Request For Comments label Feb 27, 2018
@466023746
Copy link
Author

now the url-loader not working, its a big problem i think

@davidnagli davidnagli added ❔ Question and removed 💬 RFC Request For Comments labels Mar 1, 2018
@davidnagli
Copy link
Contributor

@466023746 you brought up a really important point, so I went ahead and wrote up a little RFC proposal so we could investigate how/if we can implement a better plugin system that would solve this issue. This is a pretty big change, and likely won’t be implemented for a while even if we do decide to go ahead and do it.

I’m gonna close this issue for now, essentially moving it to #918. But feel free to comment if you have any other questions / comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants