Skip to content

torresyb/hyapp-sourcemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyapp-sourcemap

a tools of sourceMap

Usage: sm [options]
option:
* '-f, --source-file', 'The file path of source map'
* '-l, --line', 'The line number of pros error'
* '-c, --column', 'The column number of pros error'
* '-h, --help'
example:
sm -f ./demo/dist/app.min.js.map -l 1 -c 1023

output:
★sourceFilePath: webpack:///main.js
★line: 8
★column: 14
★name: aaa
--------start 错误代码--------
function test2 () {
  console.log('test2')
}
function testError () {
*  console.log(aaa)
}
function test3 () {
  console.log('test3')
}
function test4 () {

--------end 错误代码--------

About

a tools of sourceMap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published