fix(tsbuild.classes): Remove duplicate emitDecoratorMetadata from default compiler options and centralize it in protected defaults
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-11-17 - 2.7.3 - fix(tsbuild.classes)
|
||||
Remove duplicate emitDecoratorMetadata from default compiler options and centralize it in protected defaults
|
||||
|
||||
- Removed emitDecoratorMetadata from compilerOptionsDefault in ts/tsbuild.classes.tsbuild.ts to avoid duplicate configuration.
|
||||
- emitDecoratorMetadata remains enforced via getCriticalDefaults(), ensuring decorator metadata support is protected from tsconfig.json overrides.
|
||||
- Prevents inconsistencies during compiler option merging by centralizing the decorator-related setting.
|
||||
|
||||
## 2025-11-17 - 2.7.2 - fix(compilerOptions)
|
||||
Remove experimentalDecorators and useDefineForClassFields from default TypeScript compiler options
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tsbuild',
|
||||
version: '2.7.2',
|
||||
version: '2.7.3',
|
||||
description: 'A tool for compiling TypeScript files using the latest nightly features, offering flexible APIs and a CLI for streamlined development.'
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ export interface IErrorSummary {
|
||||
*/
|
||||
export const compilerOptionsDefault: CompilerOptions = {
|
||||
declaration: true,
|
||||
emitDecoratorMetadata: true,
|
||||
inlineSourceMap: true,
|
||||
noEmitOnError: true,
|
||||
outDir: 'dist_ts/',
|
||||
|
||||
Reference in New Issue
Block a user