@bb-cli/bb-build-plugin-typescript

For internal use (Backbase RnD)

Usage no npm install needed!

<script type="module">
  import bbCliBbBuildPluginTypescript from 'https://cdn.skypack.dev/@bb-cli/bb-build-plugin-typescript';
</script>

README

Typescript plugin

For internal use (Backbase RnD)

Requirements

Requires:

  • only one source directory (multiple will not work)
  • tsconfig.json file in the root of the project to build (See tsconfig.override.json to see overrides.)
  • every ts package to be in the same dir where tsconfig.json is
{
  "compilerOptions": {
  }
}

Usage

npm i -g @bb-cli/bb-build-plugin-typescript

bb-build . -b @bb-cli/bb-build-plugin-typescript
bb-package . -b @bb-cli/bb-build-plugin-typescript

Example Output

dist/lib-bb-page-bootstrap
├── assets
│   └── typings
│       ├── bootstrap-page.d.ts
│       ├── index.d.ts
│       └── page-event-handler.d.ts
├── model.xml
├── package.json
└── scripts
    ├── lib-bb-page-bootstrap.js
    └── lib-bb-page-bootstrap.js.map