rules/js/graph.js
Developer reference: this page includes exported implementation details. BUILD authors should prefer the User API reference.
JS_APP_SOURCE_INCLUDES
const JS_APP_SOURCE_INCLUDES
Undocumented.
registerJsAppHook()
registerJsAppHook(hook)
Register an internal facet hook enabled by importing a JS rules extension.
jsApp()
jsApp(opts = {})
Declare a plain JavaScript application: dependency install only, no type-checking. entry is a path relative to the app root. Use tsApp() for a TypeScript application.
tsApp()
tsApp(opts = {})
Declare a TypeScript application: dependency install, then tsc type-checks and emits against the app's own tsconfig.json (which must set outDir: "dist"). entry is a path relative to that emitted dist/ directory. Requires typescript as a declared dependency.