Packager in VSCode not packaging modules

Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version: 

I have my ps1 file outputting to the exe but when i run the exe I get errors saying to modules were not loaded because they weren’t found. running the main ps1 file everything loads and works properly.
image

This is where i am importing my modules
image

This is the psd1 file
image

Please tell me I’m not crazy or I missed a step…

Can you try adjusting the Import-Module to “Import-Module ‘$PSScriptRoot\CollectInfo.psm1’”? The packager is a bit finicky here. I’ll open an issue for this though since this syntax should work.

I went and converted everything to a single PS1 file to get around the issue. But now I am having a new issue which I will make a separate post about. Thank you for the quick reply!