This commit is contained in:
Luiz Silva 2025-07-18 18:07:05 -03:00
parent cd5d4a9568
commit 4917883aaf
4 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ const mapearPasta = ({
const pasta_estaticos = pasta.endsWith("/") ? pasta : `${pasta}/`;
if (!fs.existsSync(pasta_estaticos))
throw new Error(`Pasta ${pasta_estaticos} n\xE3o existe`);
const _gerar = (async () => {
(async () => {
const files = globSync(`${pasta_estaticos}**/*`, { nodir: true });
const arquivo_ts = `

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "p-estaticos",
"version": "0.84.0",
"version": "0.85.0",
"description": "",
"main": "./dist-back/index.js",
"module": "./dist-front/index.mjs",

View file

@ -28,7 +28,7 @@ export const mapearPasta = ({
if (!fs.existsSync(pasta_estaticos))
throw new Error(`Pasta ${pasta_estaticos} não existe`)
const _gerar = (async () => {
;(async () => {
// listar arquivos da pasta estáticos
const files = globSync(`${pasta_estaticos}**/*`, { nodir: true })