Fix languageFound type error on build
This commit is contained in:
parent
54ae3bf215
commit
68dc7c2555
@ -1,5 +1,12 @@
|
||||
import fs from "fs";
|
||||
|
||||
export type LanguageFound = {
|
||||
id: string;
|
||||
language: string;
|
||||
country: string;
|
||||
default: boolean;
|
||||
};
|
||||
|
||||
const translationsBasePath = "./translations";
|
||||
const fallbackLanguage = process.env.FALLBACK_LANGUAGE || "en-US";
|
||||
|
||||
|
@ -8,6 +8,7 @@ import type { Configuration } from "webpack";
|
||||
import webpack from "webpack";
|
||||
import type WebpackDevServer from "webpack-dev-server";
|
||||
import { fallbackLanguageObject, languages } from "./src/Translator/TranslationCompiler";
|
||||
import type { LanguageFound } from "./src/Translator/TranslationCompiler";
|
||||
|
||||
const MergeJsonWebpackPlugin = require("merge-jsons-webpack-plugin");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user