Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Commit

Permalink
Move the tsc configuration options for helpers to an external file.
Browse files Browse the repository at this point in the history
  • Loading branch information
lddubeau committed Apr 6, 2019
1 parent b99df4c commit 7f9ba6e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
10 changes: 1 addition & 9 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,7 @@ module.exports = function(grunt)
tsconfig: './tsconfig.json'
},
themeDefaultHelpers: {
options: {
sourceMap: false,
module: 'commonjs',
declaration: false
},
src: [
'src/default/helpers/*.ts',
],
outDir: 'bin/default/helpers'
tsconfig: 'src/default/helpers/tsconfig.json'
},
},
uglify: {
Expand Down
12 changes: 12 additions & 0 deletions src/default/helpers/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../../../tsconfig-common",
"compilerOptions": {
"sourceMap": false,
"module": "commonjs",
"declaration": false,
"outDir": "../../../bin/default/helpers"
},
"include": [
"*.ts"
]
}

0 comments on commit 7f9ba6e

Please sign in to comment.