Skip to content

Commit

Permalink
generate definition files for all builds but module (#640)
Browse files Browse the repository at this point in the history
* generate definition files for all builds but module
  • Loading branch information
Basel Rustum committed Jul 26, 2018
1 parent 16aa679 commit 7584ac6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gruntfile.js
Expand Up @@ -54,7 +54,8 @@ module.exports = function (grunt) {
out: 'AISKU/amd/bundle/aisdk-js.js'
},
module: {
tsconfig: './tsconfig.json',
// Use a different tsconfig for building module in order to not generate a declaration file for module, while keeping declaration for other modules
tsconfig: './tsconfigmodule.json',
src: [
'JavaScript/JavaScriptSDK.Interfaces/*.ts',
'JavaScript/JavaScriptSDK.Module/*.ts',
Expand Down
11 changes: 11 additions & 0 deletions tsconfigmodule.json
@@ -0,0 +1,11 @@
{
"compilerOptions": {
"sourceMap": true,
"inlineSources": true,
"noImplicitAny": false,
"module": "amd",
"target": "es5",
"alwaysStrict": true
},
"files": []
}

0 comments on commit 7584ac6

Please sign in to comment.