Skip to content

Commit

Permalink
🔧 chore: Use swcMinify
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Oct 10, 2023
1 parent fdad557 commit f206f3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ const withPWA = nextPWA({
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// not sure why antd-style cause multi ThemeProvider instance
// So we need to transpile it to lib mode
swcMinify: true,
transpilePackages: ['@lobehub/ui', 'antd-style'],
webpack(config) {
config.experiments = {
Expand Down

0 comments on commit f206f3c

Please sign in to comment.