DEV Community

Discussion on: Angular 8/9/10 + Tailwind CSS Guide

Collapse
 
amprasath profile image
AM Guru Prasath

Data path "" should NOT have additional properties(customWebpackConfig).

Collapse
 
lukaszj1 profile image
lukaszj1

Go to angular.json and modify builder in build and serve sections:

"projects": {
...
"example-app": {
...
"architect": {
...
"build": {
"builder": "@angular-builders/custom-webpack:browser"
"options": {
...
}

Collapse
 
anassl profile image
AnassL

Then get error:
Schema validation failed with the following errors:
Data path "" should NOT have additional properties(browserTarget).

Thread Thread
 
vankeer profile image
Laurens Van Keer

Found this when searching for this error. Just for reference for people who run into the same error in the future: I forgot to replace the default builder (@angular-devkit/build-angular) with @angular-builders/custom-webpack