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
|
- 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
|
||||||
|
@ -276,7 +276,7 @@ if (isProduction) {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
webpackConfig.devtool = false;
|
webpackConfig.devtool = 'hidden-source-map';
|
||||||
|
|
||||||
const ignoredPlugins = [
|
const ignoredPlugins = [
|
||||||
'flag-icon-css',
|
'flag-icon-css',
|
||||||
|
Loading…
Reference in New Issue
Block a user