Skip to content

Commit

Permalink
Merge pull request #35 from trustpilot/add-sourcemaps
Browse files Browse the repository at this point in the history
Add sourcemaps
  • Loading branch information
halfzebra authored Jul 11, 2017
2 parents ef19892 + c2c7dcb commit 571f209
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ module.exports = {
entry: {
skift: './src/index.ts'
},
devtool: 'source-map',
output: {
path: path.resolve(__dirname, '../dist'),
filename: '[name].js',
sourceMapFilename: 'dist/[name].source.map',
sourceMapFilename: '[name].source.map',
library: 'skift',
libraryTarget: 'umd'
},
Expand Down

0 comments on commit 571f209

Please sign in to comment.