mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-30 02:32:58 +05:30
Add source maps to allow Sentry create more detailed stacktrace
This commit is contained in:
parent
b58bd90de1
commit
112f3d57f9
@ -40,8 +40,8 @@ before_deploy:
|
||||
- rm -rf dist/messages
|
||||
# Creating tar.gz and zip archives
|
||||
- cd dist
|
||||
- tar -zcf ../dist.tar.gz *
|
||||
- zip -rq ../dist.zip *
|
||||
- tar -zcf ../dist.tar.gz --exclude="*.map" *
|
||||
- zip -rq ../dist.zip * -x "*.map"
|
||||
- cd ..
|
||||
# Install sentry-cli
|
||||
- curl -sL https://sentry.io/get-cli/ | bash
|
||||
|
@ -276,7 +276,7 @@ if (isProduction) {
|
||||
})
|
||||
);
|
||||
|
||||
webpackConfig.devtool = false;
|
||||
webpackConfig.devtool = 'hidden-source-map';
|
||||
|
||||
const ignoredPlugins = [
|
||||
'flag-icon-css',
|
||||
|
Loading…
Reference in New Issue
Block a user