Skip to content

Ability to turn off stuff from vite config #1311

@FleetAdmiralJakob

Description

@FleetAdmiralJakob

Description

I find myself a lot reverting changes vite config does when running pnpm install. The docs aren't clear on that, so I don't know what this script does, but for me, it only caused problems, which is why I removed it from my prepare scripts. It would've been a lot nicer if

  • I was able to turn off changing my AGENT.md (I intentionally formed it the way it is and wan't to keep it)
  • I was able to turn off pre commit hook creation (I intentionally removed them and don't want them coming back all the time)

Suggested solution

two flags

  • --noHooks
  • --noAgentMd

Alternative

It automatically notices that I changed it and want to have it this way, so it doesn't annoy me anymore.

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.

Metadata

Metadata

Assignees

No one assigned

    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