Skip to content

Commit

Permalink
fix: external depens
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSinclair committed Oct 3, 2024
1 parent d59b1b3 commit 11c56c1
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 1 deletion.
4 changes: 4 additions & 0 deletions examples/with-next-custom-button/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
};

module.exports = nextConfig;
4 changes: 4 additions & 0 deletions examples/with-next-mint-nft/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
};

module.exports = nextConfig;
4 changes: 4 additions & 0 deletions examples/with-next-rainbow-button/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
};

module.exports = nextConfig;
4 changes: 4 additions & 0 deletions examples/with-next-siwe-iron-session/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
};

module.exports = nextConfig;
4 changes: 4 additions & 0 deletions examples/with-next-siwe-next-auth/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
};

module.exports = nextConfig;
4 changes: 4 additions & 0 deletions examples/with-next-wallet-button/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
};

module.exports = nextConfig;
4 changes: 4 additions & 0 deletions examples/with-next/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
i18n: {
locales: ['en-US', 'zh-CN'],
defaultLocale: 'en-US',
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rainbowkit/generated-test-app/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
};

module.exports = nextConfig;
4 changes: 4 additions & 0 deletions packages/create-rainbowkit/templates/next-app/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
};

module.exports = nextConfig;
6 changes: 5 additions & 1 deletion packages/example/next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
webpack: (config) => {
config.externals.push('pino-pretty', 'lokijs', 'encoding');
return config;
},
i18n: {
defaultLocale: 'en-US',
locales: [
Expand All @@ -22,5 +27,4 @@ module.exports = {
'zh-TW',
],
},
reactStrictMode: true,
};
4 changes: 4 additions & 0 deletions site/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const withVanillaExtract = createVanillaExtractPlugin();
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: (config) => {
config.externals.push('pino-pretty', 'lokijs', 'encoding');
return config;
},
i18n: {
locales: [
'en-US',
Expand Down

0 comments on commit 11c56c1

Please sign in to comment.