Skip to content

Commit

Permalink
simplify include entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed May 31, 2023
1 parent 67afed4 commit 197791f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sveltekit/src/vite/sourceMaps.ts
Expand Up @@ -61,7 +61,7 @@ export async function makeCustomSentryVitePlugin(options?: CustomSentryVitePlugi
const hasSentryProperties = fs.existsSync(path.resolve(process.cwd(), 'sentry.properties'));

const defaultPluginOptions: SentryVitePluginOptions = {
include: [{ paths: [`${outputDir}/client`] }, { paths: [`${outputDir}/server`] }],
include: [`${outputDir}/client`, `${outputDir}/server`],
configFile: hasSentryProperties ? 'sentry.properties' : undefined,
release,
};
Expand Down

0 comments on commit 197791f

Please sign in to comment.