Skip to content

Latest commit

 

History

History

heft-web-rig

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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