Skip to content

Commit 9cf8840

Browse files
committed
Fixup for bad source maps in demo
1 parent 99830d7 commit 9cf8840

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
output: {
44
filename: './dist/react-draggable.js',
55
sourceMapFilename: './dist/react-draggable.map',
6+
devtoolModuleFilenameTemplate: '../[resource-path]',
67
library: 'ReactDraggable',
78
libraryTarget: 'umd'
89
},

0 commit comments

Comments
 (0)