mirror of
https://github.com/yazanammar/obsidian-theme-engine.git
synced 2026-07-22 06:44:37 +00:00
- Migrated build logic from npm scripts to a dedicated `esbuild.config.mjs` file. - Separated code quality checks (linting) and type checking (`tsc --noEmit`) into distinct pre-build steps. - Fixed TypeScript module resolution in `tsconfig.json` to properly support bundlers. - Automated the `dev` environment to instantly compile and copy assets to the local Obsidian vault on file changes. - Updated README.md developer instructions to reflect the new build configuration process.
34 lines
706 B
JSON
34 lines
706 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "ES2020",
|
|
"moduleResolution": "bundler",
|
|
|
|
"lib": ["DOM", "ES2020", "DOM.Iterable"],
|
|
|
|
"strict": true,
|
|
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"importHelpers": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"sourceMap": true,
|
|
|
|
"allowJs": false,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["src/**/*.ts"]
|
|
}
|