Skip to content

Commit

Permalink
externalize pino-pretty and encoding in next config
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Apr 25, 2024
1 parent af66565 commit 288902f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/next/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ const withVanillaExtract = createVanillaExtractPlugin()

/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: config => {
config.externals.push('pino-pretty', 'encoding')
return config
}
// transpilePackages: ['@0xsequence/kit', '@0xsequence/kit-wallet', '@0xsequence/kit-connectors', '@0xsequence/checkout']
}

Expand Down

0 comments on commit 288902f

Please sign in to comment.