diff --git a/.travis.yml b/.travis.yml index d27531a..5cad4fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/webpack.config.js b/webpack.config.js index 78d3212..a774240 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -276,7 +276,7 @@ if (isProduction) { }) ); - webpackConfig.devtool = false; + webpackConfig.devtool = 'hidden-source-map'; const ignoredPlugins = [ 'flag-icon-css',