From 2d74fc39aa99a4c31ab3d3a226022c6974bb28d9 Mon Sep 17 00:00:00 2001 From: Dmitriy Shekhovtsov Date: Mon, 23 Jan 2017 11:59:48 +0200 Subject: [PATCH] feat(build): use es2015 module compile target fixes #1538 --- src/tsconfig.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/tsconfig.json b/src/tsconfig.json index 9a58bab3b9..23df85bc8d 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -2,11 +2,12 @@ "compilerOptions": { "outDir": "../dist", "target": "es5", - "module": "commonjs", + "module": "es2015", "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "sourceMap": false, + "sourceMap": true, + "inlineSources": true, "noEmitHelpers": false, "noImplicitAny": true, "declaration": true, @@ -28,6 +29,8 @@ "./index.ts" ], "angularCompilerOptions": { - "genDir": "../temp/factories" + "genDir": "../temp/factories", + "strictMetadataEmit": true, + "skipTemplateCodegen": true } }