fix
This commit is contained in:
parent
425cea683b
commit
400c3f2163
|
|
@ -115,5 +115,4 @@ export const files = [
|
||||||
"monaco/min/vs/editor/editor.main.nls.js",
|
"monaco/min/vs/editor/editor.main.nls.js",
|
||||||
"monaco/min/vs/editor/editor.main.nls.fr.js",
|
"monaco/min/vs/editor/editor.main.nls.fr.js",
|
||||||
"monaco/min/vs/loader.js",
|
"monaco/min/vs/loader.js",
|
||||||
"img/empty.png"
|
];
|
||||||
]
|
|
||||||
|
|
|
||||||
|
|
@ -122,10 +122,6 @@ if (build_all) {
|
||||||
if (public_files) {
|
if (public_files) {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
public_files.map(async (file) => {
|
public_files.map(async (file) => {
|
||||||
if (file !== "favicon.ico" && !file.startsWith("monaco")) {
|
|
||||||
public_files.push(file);
|
|
||||||
}
|
|
||||||
|
|
||||||
const brfile = Bun.file(dir.path(`app/web/public-br/${file}`));
|
const brfile = Bun.file(dir.path(`app/web/public-br/${file}`));
|
||||||
if (!(await brfile.exists())) {
|
if (!(await brfile.exists())) {
|
||||||
const bfile = Bun.file(dir.path(`app/web/public/${file}`));
|
const bfile = Bun.file(dir.path(`app/web/public/${file}`));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue