forked from airgap-it/airgap-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sentry): add sentry error tracking
- Loading branch information
1 parent
b991767
commit b7ba61c
Showing
14 changed files
with
9,796 additions
and
12,664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SENTRY_DSN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,5 @@ airgap_cordova_secure_storage_deploy.pub | |
.DS_Store | ||
Thumbs.db | ||
UserInterfaceState.xcuserstate | ||
|
||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module.exports = { | ||
/** | ||
* mangle: uglify 2's mangle option | ||
*/ | ||
mangle: { | ||
reserved: ['Buffer', 'BigInteger', 'Point', 'ECPubKey', 'ECKey', 'sha512_asm', 'asm', 'ECPair', 'HDNode', 'BigNumber'] | ||
}, | ||
|
||
/** | ||
* compress: uglify 2's compress option | ||
*/ | ||
compress: { | ||
toplevel: true, | ||
pure_getters: true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
const dotenv = require('dotenv') | ||
const useDefaultConfig = require('@ionic/app-scripts/config/webpack.config.js') | ||
const webpack = require('webpack') | ||
const webpackMerge = require('webpack-merge') | ||
|
||
dotenv.config() | ||
|
||
module.exports = { | ||
dev: webpackMerge(useDefaultConfig.dev, { | ||
plugins: [ | ||
new webpack.EnvironmentPlugin({ | ||
SENTRY_DSN: process.env.SENTRY_DSN || '' | ||
}) | ||
] | ||
}), | ||
prod: webpackMerge(useDefaultConfig.prod, { | ||
plugins: [ | ||
new webpack.EnvironmentPlugin({ | ||
SENTRY_DSN: process.env.SENTRY_DSN || '' | ||
}) | ||
] | ||
}) | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.