Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09f1808

Browse files
committed
Added note on line number offsets
1 parent 5ebeb1b commit 09f1808

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ Since rewire relies heavily on node's require mechanism it can't be used on the
113113
- [browserify](https://github.com/substack/node-browserify)
114114
- [webpack](https://github.com/webpack/webpack)
115115

116+
**Please note:** Unfortunately the line numbers in stack traces have an offset of +2 (browserify) / +1 (webpack).
117+
This is caused by generated code that is added during the bundling process.
118+
116119
###browserify
117120

118121
```javascript

0 commit comments

Comments
 (0)