A bundler for Web Components. Current stable version is 0.10.8, with ongoing active development and irregular release cadence. It provides TypeScript support out of the box and focuses on bundling single-file web components into a distributable format. Compared to larger bundlers like Webpack or Rollup, wc-bundler is lightweight and targeted specifically at Web Component authors.
npm install wc-bundlerVerified import paths — ran on the pinned version, not inferred.
Shows how to bundle a TypeScript web component into an ESM module with type declarations.
Use await when calling bundle().
Use 'esm' or 'cjs' instead.
Set { types: true } in options.Use import { bundle } from 'wc-bundler' in an ESM context.Run npm install wc-bundler.
No dependency data recorded yet.