Packaging non-asset directories into their own chunk?

Bump, I have the same issue, did you find any solutions?