Skip to content

A Plugin Implemented Based on Solution 5 #3

Open
@ChuHoMan

Description

@ChuHoMan

Hi, I'm excited to see this RFC because I've been thinking about a solution to this problem for about 3 years now. I have now implemented an unplugin plugin based on the 5th solution mentioned in RFC-v1. Currently, I have only implemented the Vite plugin.

Before implementing this solution, I extensively used solutions 2 and 3. Each of them has different drawbacks, and from my current understanding, solution 5 is a more flexible solution, allowing both sub-packages and app packages to have their own choices.

This solution is still in its early stages, and most of the utility methods are borrowed from Vite. If this solution succeeds, I believe integrating this part into Vite will be very easy. I will continue to use this plugin extensively in my monorepo to observe its feasibility and acceptability.

Repository: unplugin-monorepo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions