“wrangler pages functions build” yields output with different filenames
I'm building my Pages' functions with the following command
Its output is either
How can I ensure it's output is the same all the time?
How can I make it always be
I tried to use
wrangler pages functions build ./functions --sourcemap --compatibility-flags=nodejs_compat --outdir=./dist-functions/Its output is either
index.js index.js.map
or_worker.jsworker.js.map
How can I ensure it's output is the same all the time?
How can I make it always be
_worker.js worker.js.map?
3.28.2I tried to use
--outfile option instead of --outdir , but in this case the sourcemap stops generating.