Parcel: multi plugin for same file only execute one

Created on 27 Feb 2018  路  3Comments  路  Source: parcel-bundler/parcel

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

Question

Most helpful comment

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.

All 3 comments

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.

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

@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鈥檛 be implemented for a while even if we do decide to go ahead and do it.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

donaldallen picture donaldallen  路  3Comments

mnn picture mnn  路  3Comments

Niggler picture Niggler  路  3Comments

chunzj picture chunzj  路  3Comments

philipodev picture philipodev  路  3Comments