UNPKG

@sentry/browser

Version:
17 lines 933 B
/* * This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking * for users. * * Debug flags need to be declared in each package individually and must not be imported across package boundaries, * because some build tools have trouble tree-shaking imported guards. * * As a convention, we define debug flags in a `flags.ts` file in the root of a package's `src` folder. * * Debug flag files will contain "magic strings" like `__SENTRY_DEBUG__` that may get replaced with actual values during * our, or the user's build process. Take care when introducing new flags - they must not throw if they are not * replaced. */ Object.defineProperty(exports, "__esModule", { value: true }); /** Flag that is true for debug builds, false otherwise. */ exports.IS_DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' ? true : __SENTRY_DEBUG__; //# sourceMappingURL=flags.js.map