问题:利用@sentry/webpack-plugin插件上传sourceMap,源文件上传成功了,可是异常结果还是不能映射到源文件配置代码://webpack.prod.conf.jsconst SentryPlugin = require('@sentry/webpack-plugin');new SentryPlugin({
release: process.env.RELEASE_VERSION,
include: path.join(__dirname,'../dist/static/js/'),
ignore: ['node_modules', 'webpack.config.js'],
urlPrefix : '~/static/js'’
}),sentry 是自己搭建的服务器执行下面代码后,效果如下node build/build.js
添加回答
举报
0/150
提交
取消