40thieves / webpack-sentry-plugin

Webpack plugin to upload source maps to Sentry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

upload source-map to sentry succeed but the source-map does not work.

zhongtingbing opened this issue · comments

export default (config: any) => {
console.log(process.env.BUILD_ENV);
config
.plugin('sentry')
.use(SentryPlugin, [
{
organization: 'sentry',
project: 'ant-design-pro',
apiKey: '2b47868d3cb14f02bde0b39e0c87478d0f91b854356142fe9fd785f40735343e',
baseSentryURL: 'http://localhost:9000/api/0',
release: '1.1.1',
deleteAfterCompile: true,
},
])
.end();
};