- Install deps with
pnpm
; - you can run it locally (
pnpm run dev
) and see the working version - open
node_modules/.pnpm/[email protected]/node_modules/vscode-oniguruma/release
folder and see theonig.wasm
file there; - now, builds the project using
pnpm run build
(this will creates a .vercel folder); - open
.vercel/output/functions/render.func/node_modules/.pnpm/[email protected]/node_modules/vscode-oniguruma/release
and theonig.wasm
file won't be there.
By pointing the .wasm file on astro.config.mjs
and run build, it does includes (see the astro.config.mjs)