A module shared between @openvaa/frontend
and @openvaa/strapi
, which contains:
- The application settings
- Utilities for password valiation
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.