1.1.3 • Published 6 years ago

code-line-plugin v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

code-line-plugin

The plugin is use to replace __LINE__ and __FILE__ in js

Usage

const CodeLinePlugin=require('code-line-plugin');
//some webpack configs
output:{
    ...
    devtoolLineToLine:true
},
plugins:[
    new CodeLinePlugin
],
devtool='source-map'

The devtool configs are optional,but it is recommended to add it because with out linetoline flag,the __LINE__ may have offset a lot due to some loader,babel-loader for example,it will modify the source file.

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

7 years ago