Skip to content

Commit 66c4182

Browse files
committed
Change devtool from eval to inline for Visual Studio Code Debugger.
1 parent 30db7f5 commit 66c4182

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ module.exports = {
4848
//
4949
// See: http://webpack.github.io/docs/configuration.html#devtool
5050
// See: https://github.com/webpack/docs/wiki/build-performance#sourcemaps
51-
devtool: 'cheap-module-eval-source-map',
51+
// Note: Changed from 'eval' to 'inline' for Visual Studio Code Debugger
52+
devtool: 'cheap-module-inline-source-map',
5253

5354
// Cache generated modules and chunks to improve performance for multiple incremental builds.
5455
// This is enabled by default in watch mode.

0 commit comments

Comments
 (0)