mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Report release to Sentry
This commit is contained in:
parent
805a615345
commit
9f5e5aaa71
4 changed files with 14 additions and 2 deletions
|
|
@ -1,8 +1,11 @@
|
|||
const webpack = require("webpack");
|
||||
const merge = require("webpack-merge");
|
||||
const workboxPlugin = require("workbox-webpack-plugin");
|
||||
const GitRevisionPlugin = require("git-revision-webpack-plugin");
|
||||
const common = require("./webpack.common.js");
|
||||
|
||||
const gitRevisionPlugin = new GitRevisionPlugin();
|
||||
|
||||
const config = merge(common, {
|
||||
devtool: "source-map",
|
||||
plugins: [
|
||||
|
|
@ -12,7 +15,8 @@ const config = merge(common, {
|
|||
},
|
||||
SENTRY_DSN: JSON.stringify(
|
||||
"https://12b6be8ef7c44f28ac37ab5ed98fd294@sentry.io/146021"
|
||||
)
|
||||
),
|
||||
COMMITHASH: JSON.stringify(gitRevisionPlugin.commithash())
|
||||
}),
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
// TODO: Is this needed with the devtool setting above?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue