@rushstack/heft-web-rig

0.24.0 • Public • Published

@rushstack/heft-web-rig

A rig package for web projects that build using Heft build system. To learn more about rig packages, consult the @rushstack/rig-package documentation.

This rig provides the following profiles:

  • app: For applications that get bundled using Webpack.
  • library: For creating library packages to be consumed by other web projects. Also use this profile for a library meant to be used by both Node.js and web apps.

To enable it, add a rig.json file to your project, as shown below:

config/rig.json

{
  "$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",

  "rigPackageName": "@rushstack/heft-web-rig",
  "rigProfile": "library"
}

The config files provided by this rig profile can be found in the heft-web-rig/profiles/library source folder.

Links

@rushstack/heft-web-rig is part of the Rush Stack family of projects.

Dependents (2)

Package Sidebar

Install

npm i @rushstack/heft-web-rig

Weekly Downloads

11,533

Version

0.24.0

License

MIT

Unpacked Size

40.9 kB

Total Files

33

Last publish

Collaborators

  • octogonz
  • odspnpm
  • rushstack-admin