In one application I am using PrimeNG, a framework of Angular components very complete. I am using the version 5.2.0-rc.1.
After created some screens I was do the production build (ng build --prod), but appears errors like this: Unexpected value 'TableModule in. Appears to DropdownModule too. Developer build (--dev) works fine.
Looking in the web I found the solution in this link:
https://github.com/primefaces/primeng/issues/4841 in the last post from patriknil90.
In short is necessary to create a .d.ts file to each component that you use. Changing the primeng.d.ts does not work, it has already the statement to dropdown.
P.S.: the version 5.2.0-rc.2 was released on jan 23rd and this issue was fixed.
Nenhum comentário:
Postar um comentário