Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
charyou committed Jul 26, 2024
1 parent ec8d1e7 commit 904a4d1
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 16 deletions.
31 changes: 17 additions & 14 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ['yt3.ggpht.com', 'i.ytimg.com'],
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: '/api/:path*',
},
];
},
};

export default nextConfig;
images: {
domains: ['yt3.ggpht.com', 'i.ytimg.com'],
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: '/api/:path*',
},
];
},
eslint: {
ignoreDuringBuilds: true, // This will allow the build to continue even with ESLint errors
},
};

export default nextConfig;
21 changes: 20 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@prisma/client": "^5.17.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"axios": "^1.6.0",
"clsx": "^2.1.1",
"debounce": "^2.1.0",
"lodash": "^4.17.21",
"next": "14.2.5",
Expand All @@ -21,7 +22,7 @@
"react-dom": "^18",
"react-virtualized-auto-sizer": "^1.0.24",
"react-window": "^1.8.10",
"eslint": "^9.7.0"
"tailwind-merge": "^2.4.0"
},
"devDependencies": {
"@types/lodash": "^4.17.7",
Expand All @@ -30,6 +31,7 @@
"@types/react-dom": "^18",
"autoprefixer": "^10.0.1",
"eslint": "^9.7.0",
"eslint-config-next": "14.2.5",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"typescript": "^5"
Expand Down
6 changes: 6 additions & 0 deletions src/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { type ClassValue, clsx } from "clsx"
import { twMerge } from "tailwind-merge"

export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}

0 comments on commit 904a4d1

Please sign in to comment.