Takaro - v0.6.0
    Preparing search index...

    Variable modulesIntegrationConst

    modulesIntegration: () => {
        getModules: typeof _getModules;
        name: string;
        processEvent(event: Event): Event;
    }

    Add node modules / packages to the event. For this, multiple sources are used:

    • They can be injected at build time into the SENTRY_SERVER_MODULES variable (e.g. in Next.js)
    • They are extracted from the dependencies & devDependencies in the package.json file
    • They are extracted from the require.cache (CJS only)

    Type Declaration

      • (): {
            getModules: typeof _getModules;
            name: string;
            processEvent(event: Event): Event;
        }
      • Returns {
            getModules: typeof _getModules;
            name: string;
            processEvent(event: Event): Event;
        }