Skip to content

Support for FreeBSD #2537

Open

Description

@mfechner

Description

Dear all,

I worked the last days on a port for FreeBSD so users can easily install vp using pkg install vite-plus.
I have a the ports building fine, but some patches needed to be applied.

Is the project open so I can create a pull request to get that patches included here upstream?

I yes I would prepare a pull request and would link it to this issue.

Suggested solution

I will provide a pull request if patches for FreeBSD are welcome.
One patch goes into this repo

The second patch would be for:
https://github.com/voidzero-dev/vite-task/tree/main/crates/fspy

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Activity

  1. added theissue type on Aug 23, 2026
  2. fengmk2 commented on Aug 23, 2026

    @fengmk2
    Member

    Thanks for bringing this up! Rolldown already provides a prebuilt binary for FreeBSD x64 as an experimental platform, so I think it makes sense for Vite+ to support it as well.

    Contributions to add FreeBSD support are welcome!

    For reference: Rolldown supported platforms

  3. lvalue-dev commented on Aug 24, 2026

    @lvalue-dev

    I'd love to try fixing this as my first contribution if no one else is on it. Is it good to go?

  4. mfechner commented on Aug 24, 2026

    @mfechner
    Author

    @lvalue-dev
    I have it already implemented, currently porting the changes I did to match the main branch.
    Maybe you wait a little bit till my pull request is ready.

    There will be more then enough work left for you ;)
    My patch is adding a no-op backend for FreeBSD. My target was only to get vp to compile on FreeBSD:
    https://gitlab.fechner.net/mfechner/Gitlab/-/commit/66401f2cf69e42a2e9fb8bccb231522558c9d09e

    and that vp build works for a project I maintain in the FreeBSD ports which switch from npm to vp.

  5. mfechner commented on Oct 6, 2026

    @mfechner
    Author

    @fengmk2, @lvalue-dev do you think we can continue here to bring FreeBSD support to vite-plus?

  6. fengmk2 commented on Oct 6, 2026

    @fengmk2
    Member
  7. fengmk2 commented on Oct 6, 2026

    @fengmk2
    Member

    @mfechner let's do it!

  8. mfechner commented on Oct 12, 2026

    @mfechner
    Author

    @fengmk2 @wan9chi
    I updated the pull request here:
    #2552

    I think with that change I should make a FreeBSD port for the new vite-plus version available that does not require any additional patches (after it is released of course ;) ).

    Would be nice if you could review this.

  9. added a commit that references this issue on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions