melhorias no build

This commit is contained in:
Luiz Silva 2024-05-07 09:27:49 -03:00
parent cd6d9c35a2
commit 1d6a109fc4
387 changed files with 765 additions and 23443 deletions

12
dist-esm/texto_busca.js Normal file
View file

@ -0,0 +1,12 @@
/** gerar o texto de busca removendo caracteres especies e caixa alta */
export const texto_busca = (...texto) => texto
.map((txt) => txt === null || txt === undefined
? ""
: String(txt)
.normalize("NFD")
// biome-ignore lint/suspicious/noMisleadingCharacterClass: <explanation>
.replace(/[\u0300-\u036f]/g, "")
.replace(/\s+/g, " ")
.toLowerCase())
.join(" ");
//# sourceMappingURL=texto_busca.js.map