diff --git a/apps/core/next.config.js b/apps/core/next.config.js index 5e9f51a60..c04fedf3c 100644 --- a/apps/core/next.config.js +++ b/apps/core/next.config.js @@ -4,7 +4,7 @@ const cspHeader = ` base-uri 'self'; form-action 'self'; frame-ancestors 'none'; -` +`; /** @type {import('next').NextConfig} */ const nextConfig = { @@ -16,6 +16,9 @@ const nextConfig = { }, ], }, + experimental: { + optimizePackageImports: ['@icons-pack/react-simple-icons'], + }, transpilePackages: ['@bigcommerce/components'], typescript: { ignoreBuildErrors: !!process.env.CI, @@ -37,8 +40,8 @@ const nextConfig = { }, ], }, - ] - } + ]; + }, }; module.exports = nextConfig;