kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
82 stars 22 forks source link

Repo: consume core from dist during local development #3507

Closed RasmusKjeldgaard closed 3 days ago

RasmusKjeldgaard commented 2 weeks ago

Which issue does this PR close?

This PR closes no issue

What is the new behavior?

Similar to the Angular packages we now consume the core package from the dist folder.

This means we use the compiled output like a library, similar to our consumers. This is a better alternative than offloading the compilation of any core components to the cookbook or storybook application-builders and thus consuming it differently when developing, as typescript configs, bundling etc. might differ.

Does this PR introduce a breaking change?

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Reminders

Review

When the pull request has been approved it will be merged to develop by Team Kirby.