Skip to content

Commit

Permalink
set pino-pretty as external in next.config
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeirojose committed Jul 16, 2024
1 parent 98dfcd5 commit c038d9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ const moduleExports = {
experimental: {
reactCompiler: true,
},
webpack: (config) => {
config.externals.push('pino-pretty');
return config;
},
async headers() {
return [
{
Expand Down

0 comments on commit c038d9c

Please sign in to comment.