Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/app/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default [
prettierPlugin,
{
ignores: [
'next-env.d.ts',
'playwright-report/**',
'.next/**',
'node_modules/**',
Expand Down
14 changes: 11 additions & 3 deletions packages/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const __dirname = dirname(__filename);

// Read version from package.json
const packageJson = JSON.parse(
readFileSync(join(__dirname, 'package.json'), 'utf-8')
readFileSync(join(__dirname, 'package.json'), 'utf-8'),
);
const { version } = packageJson;

Expand Down Expand Up @@ -51,7 +51,10 @@ const nextConfig = {
// TODO: Re-evaluate when Turbopack CSS module support improves
// Ignore otel pkgs warnings
// https://github.com/open-telemetry/opentelemetry-js/issues/4173#issuecomment-1822938936
webpack: (config, { buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }) => {
webpack: (
config,
{ buildId, dev, isServer, defaultLoaders, nextRuntime, webpack },
) => {
if (isServer) {
config.ignoreWarnings = [{ module: /opentelemetry/ }];
}
Expand All @@ -78,7 +81,12 @@ const nextConfig = {
}
: {}),
}),
logging: {
incomingRequests: {
// We also log this in the API server, so we don't want to log it twice.
ignore: [/\/api\/.*/],
},
},
};

export default nextConfig;

Loading