Packaging in VSCode Not Packaging Sql Files

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

I have a ps1 file that references external sql scripts.
It loads the sql scripts using the Get-Content cmdlet.
The sql scripts are in the same folder as the ps1.
When I package, the exe does not include the sql scripts or any other files in the folder that is referenced in the ps1 script.

The packager wont automatically include files (aside from other dot sourced PS1s).

Feel free to open a feature request for that:

You can work around this by bundling the files are resources.

You can also work around this by creating a module that contains the files because all files in modules are included.

#rootscript.ps1
Import-Module MyModule 
#MyModule.psm1
Get-Content "$PSScriptRoot\myFile.txt"