-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Description
Hi there,
I am using Angular CLI 11.2.14.
Inside angular.json, under Assets Configuration, is stated that An object containing paths to... but an array is found below:

When I wrote an array instead of object:

If I write an object, I can't write more assets object.
What's the valid syntax for this object, please?
NPM version: 6.13.4
Node version: 12.14.0
Angular CLI: 11.2.14
Thanks
What is the affected URL?
No response
Please provide the steps to reproduce the issue
Inside angular.json, write a basic configuration to set some assets by using Angular CLI 11.2.14
Please provide the expected behavior vs the actual behavior you encountered
Expected behaviour:
I can write an array with several assets objetcts.
Actual behaviour:
A message indicates: "Incorrect type. Expected 'object'
Please provide a screenshot if possible
No response
Please provide the exception or error you saw
No response
Is this a browser-specific issue? If so, please specify the device, browser, and version.
No response
Metadata
Metadata
Assignees
Labels
No labels