Skip to content

Commit 51cb318

Browse files
alan-agius4filipesilva
authored andcommitted
fix(@angular-devkit/build-angular): validate scripts and styles bundleName
Closes #20360
1 parent aeebd14 commit 51cb318

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/angular_devkit/build_angular/src/browser/schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@
486486
},
487487
"bundleName": {
488488
"type": "string",
489+
"pattern": "^[\\w\\-.]*$",
489490
"description": "The bundle name for this extra entry point."
490491
},
491492
"inject": {

packages/angular_devkit/build_angular/src/karma/schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@
238238
},
239239
"bundleName": {
240240
"type": "string",
241+
"pattern": "^[\\w\\-.]*$",
241242
"description": "The bundle name for this extra entry point."
242243
},
243244
"inject": {

0 commit comments

Comments
 (0)