File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ const nextConfig: NextConfig = {
26
26
emotion : true ,
27
27
} ,
28
28
compress : isProd ,
29
+ eslint : {
30
+ ignoreDuringBuilds : true ,
31
+ } ,
29
32
experimental : {
30
33
optimizePackageImports : [
31
34
'emoji-mart' ,
@@ -195,6 +198,7 @@ const nextConfig: NextConfig = {
195
198
} ,
196
199
} ,
197
200
reactStrictMode : true ,
201
+
198
202
redirects : async ( ) => [
199
203
{
200
204
destination : '/sitemap-index.xml' ,
@@ -264,11 +268,10 @@ const nextConfig: NextConfig = {
264
268
source : '/repos' ,
265
269
} ,
266
270
] ,
271
+
267
272
// when external packages in dev mode with turbopack, this config will lead to bundle error
268
273
serverExternalPackages : isProd ? [ '@electric-sql/pglite' ] : undefined ,
269
-
270
274
transpilePackages : [ 'pdfjs-dist' , 'mermaid' ] ,
271
-
272
275
typescript : {
273
276
ignoreBuildErrors : true ,
274
277
} ,
Original file line number Diff line number Diff line change 29
29
" packages/*"
30
30
],
31
31
"scripts" : {
32
- "prebuild" : " tsx scripts/prebuild.mts && npm run type-check" ,
32
+ "prebuild" : " tsx scripts/prebuild.mts && npm run type-check && npm run lint " ,
33
33
"build" : " cross-env NODE_OPTIONS=--max-old-space-size=6144 next build" ,
34
34
"postbuild" : " npm run build-sitemap && npm run build-migrate-db" ,
35
35
"build-migrate-db" : " bun run db:migrate" ,
You can’t perform that action at this time.
0 commit comments