nrwl/workshop-nx-starter

Working example of shared assets angular v6+

Opened this issue · 1 comments

We are looking at using a shared assets library though have not found decent / working documentation.

Can anyone advise on how to get it working, e.g.

"assets": [
        {
          "input": "../../../libs/shared-assets/",
          "output": "assets/",
          "glob": "**/*"
        },
        "assets",
        "favicon.ico"
      ],

Found the issue, was my bad. Paths were wrong. A working example:

"assets": [
              {"glob": "**/*", "input": "./libs/shared-assets/", "output": "./assets/images"},
              "apps/project/src/favicon.ico",
              "apps/project/src/assets",
              "apps/project/src/manifest.json"
            ],