From 34f74fc7aaa39f13420bf7a97af7e2c38f10444e Mon Sep 17 00:00:00 2001 From: Dietrich Schulten Date: Sun, 25 Feb 2018 15:34:27 +0100 Subject: [PATCH] added sourcemap flag to webpack configuration 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. --- cypress/webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/webpack.config.js b/cypress/webpack.config.js index 68c6120..97a74dd 100644 --- a/cypress/webpack.config.js +++ b/cypress/webpack.config.js @@ -7,5 +7,6 @@ module.exports = { use: 'svelte-loader' } ] - } + }, + devtool: 'cheap-module-eval-source-map' }