Add source maps to allow Sentry create more detailed stacktrace

This commit is contained in:
ErickSkrauch 2019-05-22 19:16:07 +03:00
parent b58bd90de1
commit 112f3d57f9
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E
2 changed files with 3 additions and 3 deletions

View File

@ -40,8 +40,8 @@ before_deploy:
- rm -rf dist/messages - rm -rf dist/messages
# Creating tar.gz and zip archives # Creating tar.gz and zip archives
- cd dist - cd dist
- tar -zcf ../dist.tar.gz * - tar -zcf ../dist.tar.gz --exclude="*.map" *
- zip -rq ../dist.zip * - zip -rq ../dist.zip * -x "*.map"
- cd .. - cd ..
# Install sentry-cli # Install sentry-cli
- curl -sL https://sentry.io/get-cli/ | bash - curl -sL https://sentry.io/get-cli/ | bash

View File

@ -276,7 +276,7 @@ if (isProduction) {
}) })
); );
webpackConfig.devtool = false; webpackConfig.devtool = 'hidden-source-map';
const ignoredPlugins = [ const ignoredPlugins = [
'flag-icon-css', 'flag-icon-css',