Skip to content

Commit

Permalink
fix: removed duplicate plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-rocket committed Apr 11, 2024
1 parent 5cc5679 commit 2539558
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/api/src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ const { jitsu, sentry } = environment;
* An array of plugins to be included or used in the codebase.
*/
export const plugins = [
// Includes the SentryPlugin based on the presence of Sentry configuration.
...(sentry && sentry.dsn ? [SentryPlugin] : []),
// Initializes the Jitsu Analytics Plugin by providing a configuration object.
JitsuAnalyticsPlugin.init({
config: {
Expand All @@ -21,16 +23,12 @@ export const plugins = [
echoEvents: jitsu.echoEvents
}
}),
// Includes the SentryPlugin based on the presence of Sentry configuration.
...(sentry && sentry.dsn ? [SentryPlugin] : []),
// Indicates the inclusion or intention to use the ChangelogPlugin in the codebase.
ChangelogPlugin,
// Indicates the inclusion or intention to use the KnowledgeBasePlugin in the codebase.
KnowledgeBasePlugin,
// Indicates the inclusion or intention to use the JobSearchPlugin in the codebase.
JobSearchPlugin,
// Indicates the inclusion or intention to use the JobSearchPlugin in the codebase.
JobSearchPlugin,
// Indicates the inclusion or intention to use the JobProposalTemplatePlugin in the codebase.
JobProposalTemplatePlugin
];

0 comments on commit 2539558

Please sign in to comment.