.
This commit is contained in:
parent
cd5d4a9568
commit
4917883aaf
4 changed files with 4 additions and 4 deletions
|
|
@ -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
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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 })
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue