estaticos com versão
This commit is contained in:
parent
d51d006de0
commit
f2a69c4f72
9 changed files with 315 additions and 310 deletions
|
|
@ -9,8 +9,10 @@ export const mapearPasta = ({
|
|||
pasta,
|
||||
arquivoDestino,
|
||||
variavel,
|
||||
sufixo,
|
||||
}: {
|
||||
prefixos: { [k: string]: string };
|
||||
sufixo: string;
|
||||
pasta: string;
|
||||
arquivoDestino: string;
|
||||
variavel?: string;
|
||||
|
|
@ -63,7 +65,7 @@ export const mapearPasta = ({
|
|||
if (i === partes.length - 1) {
|
||||
pasta[parte] = `~~~\${prefixo}${encodeURI(
|
||||
arquivo.slice(pasta_estaticos.length - 1),
|
||||
)}~~~`;
|
||||
)}${sufixo}~~~`;
|
||||
} else {
|
||||
pasta[parte] = pasta[parte] || {};
|
||||
pasta = pasta[parte] as tp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue