.
This commit is contained in:
parent
e8eda7ff32
commit
127061d04c
11 changed files with 912 additions and 914 deletions
2
dist/mapear_pasta.js
vendored
2
dist/mapear_pasta.js
vendored
|
|
@ -12,7 +12,7 @@ const mapearPasta = ({ prefixos, pasta, arquivoDestino, variavel, }) => {
|
|||
const pasta_estaticos = pasta.endsWith("/") ? pasta : `${pasta}/`;
|
||||
if (!node_fs_1.default.existsSync(pasta_estaticos))
|
||||
throw new Error(`Pasta ${pasta_estaticos} não existe`);
|
||||
const gerar = (async () => {
|
||||
const _gerar = (async () => {
|
||||
// listar arquivos da pasta estáticos
|
||||
const files = (0, glob_1.globSync)(`${pasta_estaticos}**/*`, { nodir: true });
|
||||
const arquivo_ts = `
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue