Skip to content

Commit e9568d8

Browse files
author
Luca Forstner
committed
Update angular flags.ts description to match changes
1 parent f84a215 commit e9568d8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

packages/angular/src/flags.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,8 @@
22
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
33
* for users.
44
*
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.
137
*/
148

159
declare const __SENTRY_DEBUG__: boolean;

0 commit comments

Comments
 (0)