Closed
Description
Describe the Bug
Following the migration guide to use CommonJS I had to include that bit but these causes and error with this schematic: https://angular.io/guide/build#configuring-commonjs-dependencies
Schema validation failed with the following errors:
Data path "" should NOT have additional properties(allowedCommonJsDependencies).
Minimal Reproduction
Import CommonJS code and use the suggested method by NG.
Expected Behavior
No error
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Angular CLI: 10.0.0
Node: 12.18.0
OS: darwin x64
Angular: 10.0.1
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.901.9
@angular-devkit/build-angular 0.1000.0
@angular-devkit/build-optimizer 0.901.9
@angular-devkit/build-webpack 0.901.9
@angular-devkit/core 9.1.9
@angular-devkit/schematics 10.0.0
@angular/cdk 10.0.0
@angular/cli 10.0.0
@ngtools/webpack 9.1.9
@schematics/angular 10.0.0
@schematics/update 0.1000.0
rxjs 6.5.5
typescript 3.9.5
webpack 4.42.0
Additional Context
Add any other context about the problem here.