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

16
dist-cjs/texto_busca.js Normal file
View file

@ -0,0 +1,16 @@
"use strict";
/** gerar o texto de busca removendo caracteres especies e caixa alta */
Object.defineProperty(exports, "__esModule", { value: true });
exports.texto_busca = void 0;
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(" ");
exports.texto_busca = texto_busca;
//# sourceMappingURL=texto_busca.js.map