fix(angular): make path optional for customWebpackConfig in webpack browser executor (#5728)
This commit is contained in:
parent
313c376f55
commit
c71137f34c
@ -369,8 +369,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["path"]
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
||||
@ -34,7 +34,7 @@ function buildApp(
|
||||
const { customWebpackConfig, ...delegateOptions } = options;
|
||||
// If there is a path to custom webpack config
|
||||
// Invoke our own support for custom webpack config
|
||||
if (customWebpackConfig) {
|
||||
if (customWebpackConfig && customWebpackConfig.path) {
|
||||
const pathToWebpackConfig = joinPathFragments(
|
||||
context.workspaceRoot,
|
||||
customWebpackConfig.path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user