1.0.3 • Published 3 years ago

webpack-fundebug-javascript-sourcemap-upload v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

安装

npm i -D webpack-fundebug-javascript-sourcemap-upload

参数

使用

const FundebugJavascriptSourcemapPlugin = require('webpack-fundebug-javascript-sourcemap-upload');

module.exports = {
    entry:[],
    ...,
    plugins:[
        new FundebugJavascriptSourcemapPlugin({
            apikey:'xxxx',
            appversion:'1.1.1',
            clear:true
        })
    ]
}

fundebug文档相关

注意

  1. 需要开启devtool:"hidden-source-map",插件在会在emit阶段获取.js.map后缀的文件,通过fundebug api 上传,并删除compilation.assets内的 sourcemap 资源;