# Проблемы

1. По какой-то совершенно непонятной причине в bpm-constructor-core не работают некоторые фичи JS, например spread operator: при сборке вылезает сообщение типа "bpm-constructor-core/node_modules/tslib doesnt export __spread". Как бы это ни было тупо, но по этой причине пришлось не использовать spread. В том числе нельзя оставлять компоненты без конструктора, потому что сборщик сначала 1) создает дефолтный конструктор со spread'ом для списка аргументов (...args), потом 2) натыкается на ошибку что для spread нету полифила. Поэтому всегда нужно явно описывать конструктор


# BpmConstructorCore

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0-.

## Code scaffolding

Run `ng generate component component-name --project bpm-constructor-core` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project bpm-constructor-core`.
> Note: Don't forget to add `--project bpm-constructor-core` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build bpm-constructor-core` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build bpm-constructor-core`, go to the dist folder `cd dist/bpm-constructor-core` and run `npm publish`.

## Running unit tests

Run `ng test bpm-constructor-core` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
