fix
This commit is contained in:
parent
58e7059647
commit
73bb5cee2c
|
|
@ -99,8 +99,7 @@ Error generating stack: `+o.message+`
|
||||||
try {
|
try {
|
||||||
${p}
|
${p}
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.error("Error at item ${t.item.name} (id: ${t.item.id}):
|
console.error("Error at item ${t.item.name} (id: ${t.item.id}):\\n", ___js);
|
||||||
", ___js);
|
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
`)(...Object.values(u),t.item.adv?.js)}catch(f){console.error(`Error at item ${t.item.name} (id: ${t.item.id}):
|
`)(...Object.values(u),t.item.adv?.js)}catch(f){console.error(`Error at item ${t.item.name} (id: ${t.item.id}):
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,7 @@ export const viEvalScript = (
|
||||||
try {
|
try {
|
||||||
${src}
|
${src}
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.error("Error at item ${meta.item.name} (id: ${meta.item.id}):\n", ___js);
|
console.error("Error at item ${meta.item.name} (id: ${meta.item.id}):\\n", ___js);
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ export const parcelBuild = async () => {
|
||||||
),
|
),
|
||||||
g.mode === "dev" ? "watch" : "build",
|
g.mode === "dev" ? "watch" : "build",
|
||||||
"./src/index.html",
|
"./src/index.html",
|
||||||
g.mode === "dev" ? "--no-hmr" : "--no-optimize",
|
g.mode === "dev" ? "--no-hmr" : "",
|
||||||
"--dist-dir",
|
"--dist-dir",
|
||||||
dir.path(`app/static`),
|
dir.path(`app/static`),
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue