Rspack: Assets.absoluteFilePath problem / docs question

Hi all,

currently moving to rspack with my app to get ready for testing in staging. Got all set for the first deployment, however, I get a boot error.

I use openapi-validator for express and for this, I load the apiSpecs using the corresponding yaml file via Assets.absoluteFilePath. This yields an error (Unknown asset: apidoc.yaml).

The docs state, that Assets.absoluteFilePath is Server [Not in build plugins] only. I do not really fully understand what this means. Is there a way to properly bundle apidoc.yaml?