Mounting node_modules from Hugo Module

I got inspired by this post to try and bypass the node modules. Unfortunately, feather-icons doesn’t provide it’s releases directly in a git repo, which hugo expects in the config.toml. I ended up biting the dust and setting up my own git repo to hold NPM packages for Hugo modules and I mount them directly from the theme’s config.toml:

[module]
  [[module.imports]]
    path = "github.com/nnooney/hugolibs/feather-icons"

  [[module.imports.mounts]]
    source = "dist"
    target = "assets/feather-icons"```