-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
devkit/build-angular:libraryfeatureIssue that requests a new featureIssue that requests a new feature
Milestone
Description
Bug Report or Feature Request (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [X] feature request
Area
- [X] devkit
- [ ] schematics
Versions
Node: 8.11.3
NPM: 5.6.0
OS: Windows 10 Pro
Angular CLI 6.0.7
Ng-packagr: 3.0.1
Devkit Core: 0.6.7
Repro steps
Attempt to provide assets, styles or scripts to a library project and you will encounter a schema validation error due to the these properties not being supported currently for library projectTypes.
The log given by the failure
Schema validation failed with the following errors:
Data path "" should NOT have additional properties(assets).
Desired functionality
I would like to be able to provide assets, styles and scripts in the same way that they can be provided to an application projectType.
Mention any other details that might be useful
I believe that ultimately this relates to ng-packagr's schema for library packages. In searching for previously reported requests on this, I did find a 'nice to have' request that had been opened in the devkit repo, which now points to this repo (angular/devkit#680).
twittwer, dougludlow, stevefarwell, JBoothUA, Arikael and 24 more
Metadata
Metadata
Assignees
Labels
devkit/build-angular:libraryfeatureIssue that requests a new featureIssue that requests a new feature