nextcloud-vue/build
Ferdinand Thiessen eafc329cff fix: Make sure the `translations` helper can be imported by vite, webpack and cypress
When imported in vite config it will be executed in ESM context where dynamic require of modules is not available.
But when converted to ES module it works in vite config + webpack config, but not in Cypress config.
Because our package type is `commonjs` so Typescript files are executed as CommonJS Typescript, so the Cypress config can not require "import" an ES module.

Solutions: Either set out package to `type: "module"` or as done here rewrite all require calls to dynamic import which is available on CommonJS *and* ES module.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-11 18:02:48 +02:00
..
extract-l10n.js fix: Ensure `extract-l10n` extracts strings from properties like `:aria-label="t()"` 2023-06-26 15:42:28 +02:00
translations.js fix: Make sure the `translations` helper can be imported by vite, webpack and cypress 2023-07-11 18:02:48 +02:00
usernameToColor-export.js feat: Migrate module build to vite 2023-07-11 18:02:48 +02:00