From 0233a2efad4a00dc621fba1fc932203f31d9094f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 2 Oct 2023 11:02:28 +0100 Subject: [PATCH] Fix src access --- scripts/common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/common.ts b/scripts/common.ts index 9af8d7f..7afb10a 100644 --- a/scripts/common.ts +++ b/scripts/common.ts @@ -16,9 +16,9 @@ limitations under the License. import fs from "fs"; import { isBinaryExpression, isStringLiteral, isTemplateLiteral, Node } from "@babel/types"; -import { KEY_SEPARATOR, Translation, Translations } from "../src"; +import type { Translation, Translations } from "../src"; -export const NESTING_KEY = process.env["NESTING_KEY"] || KEY_SEPARATOR; +export const NESTING_KEY = process.env["NESTING_KEY"] || "|"; export const INPUT_FILE = process.env["INPUT_FILE"] || 'src/i18n/strings/en_EN.json'; export const OUTPUT_FILE = process.env["OUTPUT_FILE"] || 'src/i18n/strings/en_EN.json';