cleanup code
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -10,6 +10,7 @@ const callback = function (mutationsList, observer) {
|
||||
// @ts-ignore
|
||||
mutation.addedNodes.forEach((node) => {
|
||||
if (node.nodeName === "CANVAS") {
|
||||
// @ts-ignore
|
||||
import("/workspace_web/input.js");
|
||||
observer.disconnect();
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Table } from "./db-tables/WorkspaceDB";
|
||||
|
||||
export async function getDB(table: Table): Promise<string | undefined> {
|
||||
console.warn("getDB ntable", table);
|
||||
try {
|
||||
const response = await fetch(`/workspace/get_db?table=${table}`);
|
||||
if (!response.ok) {
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ export default defineConfig({
|
||||
dir: "../dist",
|
||||
// assetFileNames: "[name]-[hash][extname]",
|
||||
entryFileNames: "workspace_web/[name].js",
|
||||
chunkFileNames: `workspace_web/[name].js`,
|
||||
chunkFileNames: `workspace_web/[name]-[hash].js`,
|
||||
assetFileNames: `assets/[name]-[hash].[ext]`,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user