Skip to content

Commit

Permalink
feat(build): use es2015 module compile target
Browse files Browse the repository at this point in the history
fixes #1538
  • Loading branch information
valorkin committed Jan 23, 2017
1 parent a79aa26 commit 2d74fc3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -28,6 +29,8 @@
"./index.ts"
],
"angularCompilerOptions": {
"genDir": "../temp/factories"
"genDir": "../temp/factories",
"strictMetadataEmit": true,
"skipTemplateCodegen": true
}
}

0 comments on commit 2d74fc3

Please sign in to comment.