Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.29 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.29 KB

@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.