aidenybai / million

Optimize React performance and make your React 70% faster in minutes, not months.
https://million.dev
MIT License
15.89k stars 558 forks source link

Fix nextConfig type #1010

Closed CodeWithShreyans closed 1 month ago

CodeWithShreyans commented 3 months ago

Please describe the changes this PR makes and why it should be merged:

Type errors occur in users' nextConfig if any options apart from the following are used:

nextConfig: {
    appDir?: boolean;
    basePath?: string;
    webpack?: (config: Record<string, any>, options: any) => any;
  }

This PR uses the NextConfig type from next to fix this issue.

Status

Semantic versioning classification:

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
million-kitchen-sink ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 5:43pm
sink ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 5:43pm
CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 2 months ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.

CodeWithShreyans commented 2 months ago

@aidenybai Could you take a look?

github-actions[bot] commented 2 months ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.