Kirill
Kirill
It also might be involved with Typescript configuration. I don't know if there's a correct or incorrect config: Puppeteer doesn't provide working solutions and examples with bundlers, so I believe...
I don't know exactly, but I tried some experiments on [Typescript `module` option](https://www.typescriptlang.org/tsconfig#module): changing it from `es2022` to `nodenext`/`node16` helps, but I can't tell exactly why.
Maybe it's worth restricting file formats so we can be sure they are playable on any environment?