Fix webpack sentry plugin update

This commit is contained in:
dangered wolf 2023-05-30 23:16:59 -04:00
parent 415bfc844a
commit 20f444415c
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -1,6 +1,6 @@
const path = require('path');
const webpack = require('webpack');
const SentryWebpackPlugin = require('@sentry/webpack-plugin');
const { sentryWebpackPlugin } = require('@sentry/webpack-plugin');
const gitCommit = require('child_process')
.execSync('git rev-parse --short HEAD')
@ -45,7 +45,7 @@ let plugins = [
if (process.env.SENTRY_AUTH_TOKEN) {
plugins.push(
new SentryWebpackPlugin({
sentryWebpackPlugin({
release: releaseName,
include: './dist',
urlPrefix: '~/',