Skip to content

Commit 114b7ce

Browse files
committed
fix: bundle @sparticuz/chromium instead of externalizing (Railway fix)
1 parent 897a8a8 commit 114b7ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const nextConfig = {
1010

1111
// Externalizar pacotes pesados (não incluir no bundle serverless)
1212
// REMOVED @remotion/* packages - they MUST be bundled to work properly
13+
// CRITICAL: @sparticuz/chromium MUST be bundled (NOT externalized) to work in Railway
1314
serverExternalPackages: [
1415
'pdf-parse',
1516
'mammoth',
16-
'@sparticuz/chromium',
1717
'puppeteer',
1818
'puppeteer-core',
1919
],

0 commit comments

Comments
 (0)