-
Notifications
You must be signed in to change notification settings - Fork 304
Open
Labels
Description
Is your feature request related to a problem? Please describe.
The EnterprisePolicyAsCode module is consisting of a growing amount of one *.ps1
file per function. This makes module install and import slower than it has to be.

Resources on best practice for perf:
- https://stackoverflow.com/questions/79338576/what-is-best-practice-to-speed-up-powershell-module-import
- https://learn.microsoft.com/en-us/powershell/scripting/dev-cross-plat/performance/module-authoring-considerations
Describe the solution you'd like
Consider doing a build / bundle step in the release pipeline to bundle these files into one single *.psm1
?
Some relevant tools:
- https://github.com/PoshCode/ModuleBuilder
- https://github.com/gaelcolas/Sampler
- https://github.com/PSModule/Build-PSModule
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.