Skip to content

Commit 0c21992

Browse files
dschultenbahmutov
authored andcommitted
feat: added sourcemap flag to webpack configuration (#14)
I think for unit testing it always makes sense to have sourcemaps. It took me some time to look up how to do that with webpack, suggest to add it in the sample configuration.
1 parent 0513363 commit 0c21992

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cypress/webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ module.exports = {
77
use: 'svelte-loader'
88
}
99
]
10-
}
10+
},
11+
devtool: 'cheap-module-eval-source-map'
1112
}

0 commit comments

Comments
 (0)