This is intended behavior (but it can make development more difficult).
The dist folder is used when building a release version of the desktop app (e.g. with cd packages/app-desktop/ && yarn dist --publish=never).
The default vscode workspace may hide these auto-generated .js and .js.map files.