fix: include packaged demo runtime and verify browser payload

This commit is contained in:
amosblomqvist
2026-10-20 14:51:40 +03:00
parent 32febaaae7
commit b39d5cd6ab
5 changed files with 295 additions and 1 deletions
+3
View File
@@ -55,6 +55,9 @@ const nextConfig: NextConfig = {
// caught it; unit tests run unbundled and never see it.
outputFileTracingIncludes: {
"*": [
// The standalone trace omitted this entire runtime-imported directory
// in 0.3.0, so importing puppeteer-core failed before browser startup.
"node_modules/@puppeteer/browsers/lib/browser-data/**/*.js",
"node_modules/pdfjs-dist/legacy/**/*",
"node_modules/pdfjs-dist/standard_fonts/**/*",
// Wave E (2026-10-10): pdf_render paints via @napi-rs/canvas — its