Skip to content

Latest commit

 

History

History

app-shared

@openvaa/app-shared: Common settings and utilities shared by the frontend and backend

A module shared between @openvaa/frontend and @openvaa/strapi, which contains:

Development

In order to build ESM and CommonJS versions of the module in its directory run:

yarn build

...or from the project's root directory:

yarn workspace @openvaa/app-shared build

Currently ESM version is used by @openvaa/frontend and CommonJS by @openvaa/strapi modules.

The ideation behind this hybrid module solution, as well as different approaches which did not work, are described in this article.