@hyperfrontend/features/nx/executors/buildbuild
Nx build executor. A thin wrapper that builds a hyperfrontend feature's shell
package by delegating to the SDK's headless hf build, run against the executing
project's root directory. When the build fails, it checks whether rollup's native
binding for the current platform is installed and, when it is missing, prints the
exact install command for the workspace's package manager on stderr. Registered
via the package's executors.json.
Usage
{
"targets": {
"build": {
"executor": "@hyperfrontend/features:build",
"options": { "config": "./feature.config.json" }
}
}
}
| Option | Required | Description |
|---|---|---|
config | no | Path to the feature config object. |
out | no | Output directory for the built shell. |
protocol | no | Security envelope: none, v1, or v2. |
name | no | Feature name override. |
version | no | Feature version override. |
url | no | URL the generated shell loads the feature from. |
contract | no | Path to the contract file. |
allowOpen | no | Acknowledge an explicit none protocol and build an open, unauthenticated shell. |
API Reference
◈ Interfaces
Options for the
build executor; mirrors schema.json.Properties
● Variables
Build a hyperfrontend feature's shell package by delegating to the SDK's
Maps the executor options to headless CLI flags and runs the build against the executing project's root directory.
hf build. Maps the executor options to headless CLI flags and runs the build against the executing project's root directory.
Build a hyperfrontend feature's shell package by delegating to the SDK's
Maps the executor options to headless CLI flags and runs the build against the executing project's root directory.
hf build. Maps the executor options to headless CLI flags and runs the build against the executing project's root directory.