mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 15:46:39 +08:00
Update build.ts
This commit is contained in:
parent
fb94120702
commit
e8a69db8dc
@ -6,16 +6,13 @@ import { EN_MASKS } from "./en";
|
|||||||
|
|
||||||
import { type BuiltinMask } from "./typing";
|
import { type BuiltinMask } from "./typing";
|
||||||
|
|
||||||
// const BUILTIN_MASKS: Record<string, BuiltinMask[]> = {
|
|
||||||
// cn: CN_MASKS,
|
|
||||||
// tw: TW_MASKS,
|
|
||||||
// en: EN_MASKS,
|
|
||||||
// };
|
|
||||||
|
|
||||||
const BUILTIN_MASKS: Record<string, BuiltinMask[]> = {
|
const BUILTIN_MASKS: Record<string, BuiltinMask[]> = {
|
||||||
cn: CN_MASKS,
|
cn: CN_MASKS,
|
||||||
|
tw: TW_MASKS,
|
||||||
|
en: EN_MASKS,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const dirname = path.dirname(__filename);
|
const dirname = path.dirname(__filename);
|
||||||
|
|
||||||
fs.writeFile(
|
fs.writeFile(
|
||||||
|
Loading…
Reference in New Issue
Block a user