I am trying to configure a custom-webpack.config.js to move some icons from a library to my assets with copyWebpackPlugin, I have created my custom-webpack.config.js file and this is my configuration in angular.json:
"architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"customWebpackConfig":{
"path":"./custom-webpack.config.js",
"replaceDuplicatePlugins":true
},
and
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
"options": {
"browserTarget": "myProject:build"
},
but when running ng serve or ng build, I am getting this error:
Job name "..getProjectMetadata" does not exist.
Error: Job name "..getProjectMetadata" does not exist.
these are my Angular libraries:
"@angular/animations": "^8.0.0",
"@angular/cdk": "^8.0.1",
"@angular/common": "^8.0.0",
"@angular/compiler": "^8.0.0",
"@angular/core": "^8.0.0",
"@angular/forms": "^8.0.0",
"@angular-builders/custom-webpack": "^9.0.0",
"@angular-builders/dev-server": "^7.3.1",
"@angular-devkit/build-angular": "^0.803.23",
"@angular/cli": "8.0.0",
"@angular/compiler-cli": "^8.0.0",
"@angular/language-service": "^8.0.0",
any ideas?