diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-10 09:04:55 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-10 09:04:55 +0800 |
commit | a2672a0d783fc53d515fa28b70e23e8036459af8 (patch) | |
tree | cd738d44975a7b2c2c4c1a6d68ce0a503d54628f /packages | |
parent | ee5ac6b800c16ad16fffe45c168df2a1434e7488 (diff) | |
download | dexon-sol-tools-a2672a0d783fc53d515fa28b70e23e8036459af8.tar dexon-sol-tools-a2672a0d783fc53d515fa28b70e23e8036459af8.tar.gz dexon-sol-tools-a2672a0d783fc53d515fa28b70e23e8036459af8.tar.bz2 dexon-sol-tools-a2672a0d783fc53d515fa28b70e23e8036459af8.tar.lz dexon-sol-tools-a2672a0d783fc53d515fa28b70e23e8036459af8.tar.xz dexon-sol-tools-a2672a0d783fc53d515fa28b70e23e8036459af8.tar.zst dexon-sol-tools-a2672a0d783fc53d515fa28b70e23e8036459af8.zip |
Get rollbar uploads working by enabling sourcemaps
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/package.json | 9 | ||||
-rw-r--r-- | packages/website/ts/utils/constants.ts | 2 | ||||
-rw-r--r-- | packages/website/webpack.config.js | 3 |
3 files changed, 9 insertions, 5 deletions
diff --git a/packages/website/package.json b/packages/website/package.json index 332857dd3..b5b4b6119 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -11,9 +11,12 @@ "clean": "shx rm -f public/bundle*", "lint": "tslint --project . 'ts/**/*.ts' 'ts/**/*.tsx'", "watch_without_deps": "webpack-dev-server --content-base public --https", - "deploy_dogfood": "npm run build; aws s3 sync ./public/. s3://dogfood.0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "deploy_staging": "npm run build; aws s3 sync ./public/. s3://staging-0xproject --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "deploy_live": "npm run build; aws s3 sync ./public/. s3://0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers" + "deploy_dogfood": + "npm run build; aws s3 sync ./public/. s3://dogfood.0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "deploy_staging": + "npm run build; aws s3 sync ./public/. s3://staging-0xproject --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "deploy_live": + "npm run build; aws s3 sync ./public/. s3://0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --exclude *.map.js" }, "author": "Fabio Berger", "license": "Apache-2.0", diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts index 4b3443d21..e43f541bf 100644 --- a/packages/website/ts/utils/constants.ts +++ b/packages/website/ts/utils/constants.ts @@ -33,7 +33,7 @@ export const constants = { PROVIDER_NAME_TOSHI: 'Toshi', PROVIDER_NAME_GENERIC: 'Injected Web3', PROVIDER_NAME_PUBLIC: '0x Public', - ROLLBAR_ACCESS_TOKEN: 'a6619002b51c4464928201e6ea94de65', + ROLLBAR_ACCESS_TOKEN: '32c39bfa4bb6440faedc1612a9c13d28', S3_DOC_BUCKET_ROOT: 'https://s3.amazonaws.com/doc-jsons', S3_STAGING_DOC_BUCKET_ROOT: 'https://s3.amazonaws.com/staging-doc-jsons', SUCCESS_STATUS: 200, diff --git a/packages/website/webpack.config.js b/packages/website/webpack.config.js index 89e6e1fd7..5647b4f93 100644 --- a/packages/website/webpack.config.js +++ b/packages/website/webpack.config.js @@ -94,6 +94,7 @@ module.exports = { // The v3 series bundled version does not support ES6 and // fails to build. new UglifyJsPlugin({ + sourceMap: true, uglifyOptions: { mangle: { reserved: ['BigNumber'], @@ -101,7 +102,7 @@ module.exports = { }, }), new RollbarSourceMapPlugin({ - accessToken: 'a6619002b51c4464928201e6ea94de65', + accessToken: '32c39bfa4bb6440faedc1612a9c13d28', version: GIT_SHA, publicPath: 'https://0xproject.com/', }), |