UNPKG

@inlang/paraglide-js

Version:

[![NPM Downloads](https://img.shields.io/npm/dw/%40inlang%2Fparaglide-js?logo=npm&logoColor=red&label=npm%20downloads)](https://www.npmjs.com/package/@inlang/paraglide-js) [![GitHub Issues](https://img.shields.io/github/issues-closed/opral/paraglide-js?lo

14 lines 423 B
import { serverAsyncLocalStorage, isServer } from "./variables.js"; /** * @param {string} safeModuleId * @param {Locale} locale */ export function trackMessageCall(safeModuleId, locale) { if (isServer === false) return; const store = serverAsyncLocalStorage?.getStore(); if (store) { store.messageCalls?.add(`${safeModuleId}:${locale}`); } } //# sourceMappingURL=track-message-call.js.map