Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
enable sourcemaps & type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Velenir committed Nov 22, 2020
1 parent 670ac93 commit f74b518
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"allowJs": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"typeRoots": [
]
},
Expand Down
2 changes: 1 addition & 1 deletion webpack/webpack.development.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const merge = require('webpack-merge');
const common = require('./webpack.common.config.js');

module.exports = merge(common(), {
devtool: 'source-map',
devtool: 'eval-source-map',
performance: {
hints: 'warning'
},
Expand Down
1 change: 1 addition & 0 deletions webpack/webpack.production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ const common = require('./webpack.common.config.js');

module.exports = merge(common(), {
mode: 'production',
devtool: 'source-map',
externals: [nodeExternals()],
});

0 comments on commit f74b518

Please sign in to comment.