samrith-s / parcel-plugin-structurize

A plugin to customize the output (dist) directory structure during production.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[parcel v2] Question:

Kuohao-wu opened this issue Β· comments

This plugin is very useful to me, but it only supports parcel bundler, but it doesn't support parcel v2. I don't know when it will be supported? πŸ™Š

Hey, currently I don't have a lot of time to make this compatible with Parcel v2. Maybe in the coming months I might spend some time on it, but no guarantees. But, if anyone wants to help in making this compatible with Parcel v2, I'd more than welcome it!

@samrith-s is this plugin now compatible with Parcel 2? - asking because seeing the issue has been 'closed' makes it seem as if the help is no longer needed.

@iocouto Hey, I'd like to make this plugin compatible with Parcel 2, but that requires significant investment and the time for which I don't have currently.

But you're right, I will keep this issue open and see if anyone's interested in helping out!

@samrith-s the official word from the Parcel developers is that outputting to a customised folder structure with v2 should be much easier, and require a lot less coding and workarounds than with v1. This issue has a response towards the end that says that "all of this should be achievable through the use of a Namer plugin"...

Unfortunately, I don't know enough to help out, otherwise I would. Right now, it's not possible for me to use Parcel, because the 'flat-directory' output makes it unusable on the projects I work. :(

Your plugin is still very much needed.

@iocouto thanks for that. I will have a look into it and see what I can do. No promises yet though!

@samrith-s it may be worthwhile getting in touch with developers that are trying to develop Parcel plugins to solve the same problem. Perhaps you could all join forces and put together a single 'custom-dist-dir' plugin, which might make the job of maintaining and upgrading easier for al! Here are a couple of projects that seem to be actively maintained:

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.