Resolve build errors

This commit is contained in:
huchenlei
2024-06-13 12:04:55 -04:00
parent b4ff842058
commit 2d00a34ffd
2 changed files with 12 additions and 7 deletions

View File

@@ -12,9 +12,11 @@
<script type="text/javascript" src="./lib/litegraph.extensions.js" defer></script>
<script type="module">
import { app } from "./src/scripts/app.js";
await app.setup();
window.app = app;
window.graph = app.graph;
(async () => {
await app.setup();
window.app = app;
window.graph = app.graph;
})();
</script>
</head>
<body class="litegraph">

View File

@@ -14,10 +14,13 @@
"noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"strict": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
/* AllowJs during migration phase */
"allowJs": true
},
"include": ["src"]
}