refactor: extract dedicated @calcom/i18n package (#28141)
This commit is contained in:
@@ -23,7 +23,7 @@ const translationKeyRegex = /(?<!\w)(?:t\(("[^"]*")(?:,\s*\{[^}]*\})?\)|i18nKey=
|
||||
/** @type {import("i18n-unused/src/types/index.ts").RunOptions} */
|
||||
const config = {
|
||||
// localesPath: localePath, // uncomment to run on all locales (to calculate kb savings)
|
||||
localesPath: path.join("./apps/website", "/public/static/locales", "/en"),
|
||||
localesPath: path.join("./packages/i18n/locales", "/en"),
|
||||
srcPath: "./apps/website",
|
||||
srcExtensions: ["ts", "tsx"],
|
||||
translationContextSeparator: ":",
|
||||
|
||||
Reference in New Issue
Block a user