Index: test_runner.js |
=================================================================== |
--- a/test_runner.js |
+++ b/test_runner.js |
@@ -61,16 +61,17 @@ |
{ |
return new Promise((resolve, reject) => |
{ |
// Based on this example |
// https://webpack.js.org/api/node/#custom-file-systems |
let memoryFS = new MemoryFS(); |
options.output = {filename: bundleFilename, path: "/"}; |
+ options.devtool = "cheap-eval-source-map"; |
let webpackCompiler = webpack(options); |
webpackCompiler.outputFileSystem = memoryFS; |
webpackCompiler.run((err, stats) => |
{ |
// Error handling is based on this example |
// https://webpack.js.org/api/node/#error-handling |
if (err) |