benwiley4000 / builders

πŸ— A collection of official & community @pika/pack build plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@pika/pack plugins

This repo contains the official build plugins for @pika/pack.

  • Write your own plugin! @pika/pack can load local builders by relative path directly from your repo. Check out an existing builder for ideas and then feel free to use one as a starter template for your own.
  • Publish & Share your plugin! These official builders are just the start. Create a PR to add your community plugin to this list!

Official Plugins

Source Builders:

NOTE: Include a source builder early in your pipeline. Source builders take your project source code (ESNext, TS, etc.) and compile it to standard, ES2018 JavaScript. Other builders will then consume that standardized build to base their own work off of.

Distribution Builders:

WASM & Non-JS Builders:

Advanced Builders:

  • @pika/plugin-bundle-node: Creates a Node.js build with all code (including dependencies) bundled into a single file. Useful for CLIs.
  • @pika/plugin-bundle-web: Creates a ESM build with all code (including dependencies) bundled. Useful for unpkg & serving code directly to browsers.
  • @pika/plugin-simple-bin: Generates & configures a CLI wrapper to run your library from the command line.

Community Plugins

About

πŸ— A collection of official & community @pika/pack build plugins

License:MIT License


Languages

Language:JavaScript 78.7%Language:TypeScript 21.3%