Skip to content

Commit f822a51

Browse files
committed
remove experimental features
1 parent d7c82d3 commit f822a51

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

next.config.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,13 @@ const backendUrl = new URL(process.env.BACKEND_URL || 'http://localhost:8000');
1313
const platformUrl = new URL(process.env.NEXT_PUBLIC_PLATFORM_URL || 'http://localhost:3000');
1414

1515
const withNextIntl = createNextIntlPlugin('./i18n.ts');
16+
1617
const nextConfig = withNextIntl({
1718
transpilePackages: ['opub-ui'],
1819

1920
// Performance optimizations
2021
experimental: {
2122
optimizePackageImports: ['opub-ui', 'echarts', 'lucide-react', '@tabler/icons-react'],
22-
webpackBuildWorker: true,
23-
optimizeCss: true,
24-
},
25-
26-
// Compiler optimizations
27-
compiler: {
28-
removeConsole: process.env.NODE_ENV === 'production',
2923
},
3024

3125
// Webpack optimizations

0 commit comments

Comments
 (0)