Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Writing build plugins for Vite, Rollup and webpack v1.0.0

Use this resource to write or integrate a build plugin that runs on several bundlers

New

  • 390 downloads
  • 106 likes
  • 187 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install universal-build-plugins-unplugin

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent creates or integrates an Unplugin plugin: the createUnplugin factory, hooks and context, filters, nested plugins and bundler-specific behaviour. It also helps diagnose hooks that act differently from one tool to another. You get a plugin that is portable across bundlers.

Mostly picked by

Updated November 2, 2026

Card for the “Writing build plugins for Vite, Rollup and webpack” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/: core API, hooks and context
  • references/: bundler-specific behaviour, filters and nested plugins

Good fit for

  • You publish a plugin that must work with both Vite and webpack
  • You debug a plugin whose hooks misbehave in one bundler

Not for

    Tags

    • unplugin
    • vite
    • webpack
    • plugin
    • bundler

    About

    You say

    “Create an unplugin plugin that adds a build variable, then check it in Vite and esbuild.”

    Card for the “Writing build plugins for Vite, Rollup and webpack” skill

    Skill published by hairyf under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write or integrate a build plugin that runs on several bundlers
    3. Review and adjust the result

    Content preview

    Files

    • GENERATION.md0.1 KB
    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.4 KB
    • references/best-practices-conventions.md2 KB
    • references/best-practices-diagnostics.md1.4 KB
    • references/best-practices-scaffolding.md1.3 KB
    • references/core-api.md2.7 KB
    • references/core-hook-compatibility.md2.9 KB
    • references/core-hooks-and-context.md3.1 KB
    • references/core-integration.md2.8 KB
    • references/core-overview.md2.1 KB
    • references/features-bundler-specific.md3.3 KB
    • references/features-filters.md1.9 KB
    • references/features-nested-plugins.md2 KB
    • references/features-output-and-assets.md1.7 KB
    • references/features-parsing.md1.8 KB
    • references/features-virtual-modules.md2.3 KB
    • SKILL.md2.9 KB

    Origin and licence

    Listed unmodified

    Author
    hairyf
    Source
    github.com/hairyf/skills/tree/ffa1f904012f48f5bdf34ebb692daa09c778d47f/skills/unplugin
    Licence
    MIT

    Notice

    « unplugin » (hairyf, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.