build: pass stripExportPattern
as an array of RegExp
(#26012)
This is a workaround for https://github.com/bazelbuild/rules_nodejs/issues/317 PR Close #26012
This commit is contained in:

committed by
Alex Rickabaugh

parent
63b795ae4a
commit
aac08e0438
@ -22,7 +22,7 @@ export function startCli() {
|
||||
const {argv, mode, errors} = parseArguments(process.argv.slice(2));
|
||||
|
||||
const options: SerializationOptions = {
|
||||
stripExportPattern: argv['stripExportPattern'],
|
||||
stripExportPattern: [].concat(argv['stripExportPattern']),
|
||||
allowModuleIdentifiers: [].concat(argv['allowModuleIdentifiers']),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user