Revert "Editor: fix build translations"

This reverts commit e497cb0229.
This commit is contained in:
Viktor Fomin 2024-04-09 10:17:40 +03:00
parent 1bd8cfdb36
commit 6b44cbcb77
2 changed files with 21 additions and 12 deletions

View File

@ -33,11 +33,7 @@ beforeBuild(
path.join(__dirname, "../../../public/locales"),
],
path.join(__dirname, "../src/utils/autoGeneratedTranslations.js"),
{
path: path.join(__dirname, "../../client/public/locales"),
files: ["Files.json"],
alias: "CLIENT_PUBLIC_DIR",
},
null,
true,
);

View File

@ -1,8 +1,14 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["./index.d.ts"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"types": [
"./index.d.ts"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -20,10 +26,15 @@
}
],
"paths": {
"@/*": ["./src/*"],
"PUBLIC_DIR/*": ["../../public/*"],
"ASSETS_DIR/*": ["./public/*"],
"CLIENT_PUBLIC_DIR/*": ["../client/public/*"]
"@/*": [
"./src/*"
],
"PUBLIC_DIR/*": [
"../../public/*"
],
"ASSETS_DIR/*": [
"./public/*"
]
}
},
"include": [
@ -34,5 +45,7 @@
"next.config.js",
"./.next/types/**/*.ts"
],
"exclude": ["node_modules"]
"exclude": [
"node_modules"
]
}