feat(web): complete Blender route runtime execution
This commit is contained in:
@@ -6,6 +6,8 @@ import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
// @ts-expect-error The runtime is Node; this project intentionally avoids a browser dependency on Node types.
|
||||
import { fileURLToPath } from "node:url";
|
||||
// @ts-expect-error The provider is a Node-side Vite plugin implemented as an ES module.
|
||||
import { serverOperatorJobProvider } from "../../tools/web/server-operator-job-server.mjs";
|
||||
|
||||
const deploymentContract = JSON.parse(
|
||||
fs.readFileSync(path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../docs/web/deployment-contract.json"), "utf8"),
|
||||
@@ -228,6 +230,7 @@ export default defineConfig({
|
||||
...(unisolatedSingleThreadTest ? [] : [preserveIsolationHeaders()]),
|
||||
localVDBFixture(),
|
||||
serveSparseVDBFixture(),
|
||||
serverOperatorJobProvider(),
|
||||
react(),
|
||||
],
|
||||
server: {
|
||||
|
||||
Reference in New Issue
Block a user