6 Commits

Author SHA1 Message Date
Valentyne Stigloher
9a78a074d8 (ts) add ~ path alias so that the symlinked data directory still resolves to the correct file
Nuxt 2 fails with aliases in serverMiddleware, so I had to use tsconfig-paths-webpack-plugin as workaround
https://github.com/nuxt/typescript/issues/339
2024-05-20 12:53:16 +02:00
Valentyne Stigloher
3996dd10b8 (ts) migrate calendar 2024-05-20 12:53:15 +02:00
Valentyne Stigloher
eb9ebace3a (refactor) migrate from cjs to esm so that
in the case of importing `.json` files, node does support these only via adding `with { type: 'json' }`
and then it is still experimental.
The workaround is to create a require() function which is hidden from webpack via simple-hacky string replacement.
https://nodejs.org/api/esm.html#json-modules
This means that the files are not fully compatible, as webpack supports loading of other files via `import`,
while node does only allow `.js` (experimentally `.json` and `.wasm`).
2023-12-13 23:31:45 +01:00
Valentyne Stigloher
449822e2d8 (refactor) remove unused imports 2023-12-13 23:31:00 +01:00
Jerry
008811a833 [ru] capitalized Belarus - by July 2023-03-02 03:45:46 +07:00
Andrea Vos
23110913ed [lad] hebrew calendar dates 2021-12-29 18:31:09 +01:00