Skip to content

Commit

Permalink
Added declarationMap, and set the webpack override so it doesn't caus…
Browse files Browse the repository at this point in the history
…e errors
  • Loading branch information
TheSpyder committed Feb 12, 2019
1 parent f348a58 commit 9278f16
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/modules/grunt-webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ let create = (entries, tsConfig, outDir, filename) => {
loader: 'ts-loader',
options: {
transpileOnly: true,
compilerOptions: {
declarationMap: false
},
configFile: tsConfig,
experimentalWatchApi: true
}
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"importHelpers": true,
"lib": ["es2015"],
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "lib",
"baseUrl": ".",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"importHelpers": true,
"lib": ["es2015"],
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "lib",
"baseUrl": ".",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"importHelpers": true,
"lib": ["es2015"],
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "lib",
"baseUrl": ".",
Expand Down

0 comments on commit 9278f16

Please sign in to comment.