0

I have one requirement where I am installing @PDFTron package. Along with the import I have reference the path inside .ts file,for that the files should be in the assets. I am trying to copy files from glob but its working. Can anybody help me in this issue.? code is as below.

angular.json

"assets": [{
              "glob": "**/*",
              "input": "../node_modules/@pdftron/webviewer",
              "output": "src/assets"
            },"src/favicon.ico", "src/assets"],

app.component.ts

WebViewer(
      {
        path: "../assets/lib/webviewer/public"
    }).then(...)

Its not copying files.Please whats the issue in the code of angular.json

4

0 回答 0