1.1.3 • Published 7 years ago

code-line-plugin v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 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

7 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago