chore: keep comments for queryOptions

This commit is contained in:
mingholy.lmh
2025-11-26 22:14:37 +08:00
parent 769a438fa4
commit d76341b8d8
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ execSync('tsc --project tsconfig.build.json', {
try { try {
execSync( execSync(
'npx dts-bundle-generator -o dist/index.d.ts src/index.ts --no-check', 'npx dts-bundle-generator --project tsconfig.build.json -o dist/index.d.ts src/index.ts --no-check',
{ {
stdio: 'inherit', stdio: 'inherit',
cwd: rootDir, cwd: rootDir,

View File

@@ -7,7 +7,8 @@
"declaration": true, "declaration": true,
"declarationMap": false, "declarationMap": false,
"sourceMap": false, "sourceMap": false,
"emitDeclarationOnly": true "emitDeclarationOnly": true,
"removeComments": false
}, },
"include": ["src/**/*.ts"], "include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist", "test", "**/*.test.ts", "**/*.spec.ts"] "exclude": ["node_modules", "dist", "test", "**/*.test.ts", "**/*.spec.ts"]