mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 22:43:42 +08:00
Update build.ts
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user