This commit is contained in:
Nikita
2024-08-27 16:39:58 +03:00
parent 5526df6c53
commit 03ffc6a190
7 changed files with 80 additions and 69 deletions

View File

@@ -1,6 +1,6 @@
// TODO: somehow there should be dynamic config for tauri/website
// one way is perhaps via env variable like below
const TAURI_DEV = false
const TAURI_DEV = true
/** @type {import('next').NextConfig} */
const nextConfig = {

View File

@@ -1,26 +1,41 @@
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "types/**/*.d.ts"],
"exclude": ["node_modules"]
"compilerOptions": {
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": [
"./*"
]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"types/**/*.d.ts",
"../dist/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}