Visual Studio Code - Packager stuck only packaging one PS1

Good morning,
from within VS Code, using Powershell 7.3, the Packager only packages a single PS1 script. It doesnt select the one I currently have active, even if I close all other scripts from the Editors… it just selects one script, period.
is there anything I can fix for this?

I experienced this issue myself. Found that when using PWSH7, the packager uses the package.psd1 file to construct the exe. So you can have a script selected in the editor, but if the package.psd1 file is pointing to a different script, the different script will get the attention, ignoring the selected file in the editor. It does not update the “Root” value, which is what packager uses to select the source ps1 file. You must manually configure the Package.psd1 file for each script you want to convert to exe.