@kcinternals/heft-web-rig
v0.40.0
Published
a rig package for web development (internal usage)
Downloads
449
Readme
Heft web-rig
This packages is for internal usage only.
The riggable is a idea from heft cli to simplify building process (learn more).
Profiles
The profiles is a rigging profile to set up building process based on use cases. On this package, contains 1 profile:
default
- For all web packages managed on this repository (learn more).css
- For css packages managed on this repository (learn more).
Profile default
This will generate multiple modules output listed below:
lib
- The base module containsESNext
module codelib-commonjs
- containsCommonJS
javascript codelib-umd
- containsUMD
module codelib-css
- containscss
files (if any)dist
- contains aggregated typescript definitions- index.d.ts contains all exported types
- index-alpha.d.ts contains only alpha exported types
- index-beta.d.ts contains only beta exported types
- index-public.d.ts contains only public exported types
This also support scss compiles to css with type definitions.
Profile css
This for css packages (the npm package which contains only css/scss/sass files). This will linting (using eslint) and compile to css with type definitions exported.
The output css should be in lib
directory and
type definitions in lib/types
directory.