File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 2
2
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3
3
* for users.
4
4
*
5
- * Debug flags need to be declared in each package individually and must not be imported across package boundaries,
6
- * because some build tools have trouble tree-shaking imported guards.
7
- *
8
- * As a convention, we define debug flags in a `flags.ts` file in the root of a package's `src` folder.
9
- *
10
- * Debug flag files will contain "magic strings" like `__SENTRY_DEBUG__` that may get replaced with actual values during
11
- * our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
12
- * replaced.
5
+ * We define "magic strings" like `__SENTRY_DEBUG__` that may get replaced with actual values during our, or the user's
6
+ * build process. Take care when introducing new flags - they must not throw if they are not replaced.
13
7
*/
14
8
15
9
declare const __SENTRY_DEBUG__ : boolean ;
You can’t perform that action at this time.
0 commit comments