How one owner project can benefit from a module's mount settings?

I was under the impression that an imported module’s mount settings could be used by the owner.

Here’s my module mounts settings:

mounts:
  - source: _somewhere
    target: assets/here

As far as I know the only way for files located in the projects’ _somewhere directory to be picked up using resources.Match "here/*" is if the project sets the aforementioned mounting settings itself, in its own config file/dir.

I wonder if there is a way for the owner (project importing the module) to benefit from this mount settings without having to set them itself?

1 Like

Wouldn’t want this happening without knowing about it first…

[[module.mounts]]
source = "/etc/passwd"
target = "static/LICENSE.md"
2 Likes

Of course. Makes sense.

1 Like