mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 08:08:02 +00:00
Update the code snippet
This commit is contained in:
@@ -7,7 +7,10 @@ Fortunately, Webpack makes it easy to enhance debugging with full source
|
|||||||
maps of your code. Just add the following option to your Webpack config:
|
maps of your code. Just add the following option to your Webpack config:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
devtool: source-map
|
{
|
||||||
|
devtool: "source-map",
|
||||||
|
...
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
This will generate a full source map with a filename that is something like
|
This will generate a full source map with a filename that is something like
|
||||||
|
|||||||
Reference in New Issue
Block a user