Skip to content

Commit

Permalink
Angular: emit decorator metadata by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kroeder committed Feb 2, 2020
1 parent 99dd642 commit d70b321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/angular/src/server/ts_config.ts
Expand Up @@ -14,6 +14,9 @@ export default function(configDir: string) {
const configFilePath = resolveTsConfig(path.resolve(configDir, 'tsconfig.json'));
return {
transpileOnly: true,
compilerOptions: {
emitDecoratorMetadata: true,
},
configFile: configFilePath || undefined,
};
}

0 comments on commit d70b321

Please sign in to comment.