How can I get Webstorm to recognize Angular assets folder
I have a fairly classic Angular 19 project setup (at least I think its fairly classic).
In my angular.json I declare the assets as follows:
"assets": [
{
"glob": "**/*",
"input": "src/assets/",
"output": "/public/"
}
But when I do that Webstorm doesn't recognize the /public/ folder. And so all the references to assets in my code have warnings indicating “cannot resolve directory public”.
Is there an easy way to resolve this?
Please sign in to leave a comment.
Unfortunately using assets configuration in
angular.jsonfor paths resolving is not currently supported. Please follow WEB-59564 for the updates.