Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

🏗 A collection of official & community @pika/pack build plugins

License

Notifications You must be signed in to change notification settings

FredKSchott/pika-pack-builders

Repository files navigation

@pika/pack plugins

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

  • Write your own plugin! @pika/pack can load build plugins from package name & relative path. Check out this GitHub template or any of the existing build plugins to get started writing 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