I’m giving a spin to Hugo Modules and very excited about it. One think I don’t understand is how to import a module without its own dependency.
I set up a basic parent project and init it as Hugo Module https://github.com/theNewDynamic/hugo-modules-test with the following module config:
module: imports: - path: github.com/regisphilibert/mod-content-test ignoreConfig: true mounts: - source: content/test target: content/note
Then set up a simple “content” repo https://github.com/regisphilibert/mod-content-test with the following module config:
module: imports: - path: github.com/regisphilibert/rp_hugo
ignoreConfig: true on the parent when “importing” the “content only” module, I would think Hugo would not import the “content module”'s own imports. Yet it does.
I’m not sure how to make sure how the “import tree” stops and the “content” module.