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

Parcel v2 support #29

Open
andywer opened this issue Nov 13, 2019 · 1 comment
Open

Parcel v2 support #29

andywer opened this issue Nov 13, 2019 · 1 comment
Labels

Comments

@andywer
Copy link

andywer commented Nov 13, 2019

Question

Parcel v2 is still in alpha, but looks very promising. I suppose this plugin will currently not work with v2 as they changed the overall architecture quite a bit.

Is there any chance there will be a v2-compatible version anytime soon?

We are relying on nunjucks templates for our app and would love to take Parcel 2 for a spin... 😇

Btw, thanks for putting this plugin together! It's often the small puzzle pieces like this plugin that don’t get the recognition they deserve, but can make all the difference.

@chocolateboy
Copy link
Owner

Is there any chance there will be a v2-compatible version anytime soon?

Probably not by me.

I haven't used Parcel for a while so it's not something I have an urgent need for (although that could change), and last time I checked it looked like the new plugin architecture would require a major rewrite (or rewrites — into multiple components). This version is already at the limit of what's supported by Parcel, and effectively only works by reinventing a chunk of Parcel's internals, with the inevitable maintenance burden and compatibility chasing that entails.

It's essentially an ingenious hack that works in spite of Parcel's design rather than because of it, and I don't think that will change unless/until it becomes a first-class/core plugin (like Pug). AFAIK, no other plugins provide multiple asset types, so there's no existing/planned support for this use case.

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

No branches or pull requests

2 participants