A @pika/pack plugin: Adds an ESM distribution to your package, built & optimized to run in most web browsers (and bundlers).
Last updated a year ago by gr2m .
ISC · Original npm · Tarball · package.json
$ cnpm install @gr2m/plugin-build-web-issue-84 
SYNC missed versions from official npm registry.

See discussion at pikapkg/builders#84


A @pika/pack build plugin. Adds an ESM distribution to your package optimized for web bundlers and tooling. For a standalone build meant to run directly in the browser, check out plugin-bundle-web.


# npm:
npm install @pika/plugin-build-web --save-dev
# yarn:
yarn add @pika/plugin-build-web --dev


  "name": "example-package-json",
  "version": "1.0.0",
  "@pika/pack": {
    "pipeline": [["@pika/plugin-standard-pkg"], ["@pika/plugin-build-web"]]

For more information about @pika/pack & help getting started, check out the main project repo.


  • "sourcemap" (Default: "true"): Adds a source map for this build.


  1. Adds a web distribution to your built package: dist-web/index.js Targets Modern (ES2019) syntax optimized for bundlers & web tooling.
  2. Adds a "module" entrypoint to your built package.json manifest.

Packages that use this plugin will work on the Pika CDN. To support running directly from UNPKG, check out plugin-bundle-web.

Current Tags

  • 0.6.0-issue-84                                ...           latest (a year ago)

1 Versions

  • 0.6.0-issue-84                                ...           a year ago
Maintainers (1)
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (5)
Dependents (0)

Copyright 2014 - 2017 © taobao.org |