magic-globals
magic-globals copied to clipboard
Wrong line number when using babel
Hi!
I have tried to use "__line" but it displays the wrong line number on babel using es2015. The following code: import restify from 'restify'; import fs from 'fs'; import path from 'path'; import rtrim from 'rtrim'; import magicglobals from 'magic-globals'; console.log(__line);
displays: 25