Skip to content

Commit ebe45c2

Browse files
committed
pls don't break
1 parent 04028c3 commit ebe45c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

next.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ const {codecovNextJSWebpackPlugin} = require('@codecov/nextjs-webpack-plugin');
44
const {withSentryConfig} = require('@sentry/nextjs');
55

66
const outputFileTracingExcludes = process.env.NEXT_PUBLIC_DEVELOPER_DOCS
7-
? {}
7+
? {
8+
'/**/*': ['./.git/**/*', './apps/**/*', 'docs/**/*'],
9+
}
810
: {
911
'/**/*': [
1012
'./.git/**/*',
@@ -27,7 +29,6 @@ const nextConfig = {
2729
trailingSlash: true,
2830
serverExternalPackages: ['rehype-preset-minify'],
2931
outputFileTracingExcludes,
30-
3132
webpack: (config, options) => {
3233
config.plugins.push(
3334
codecovNextJSWebpackPlugin({

0 commit comments

Comments
 (0)