Skip to content

Commit

Permalink
fix(V2): build
Browse files Browse the repository at this point in the history
  • Loading branch information
aamir1995 committed Aug 21, 2023
1 parent 1489ddc commit 78278c5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion v2/demo-snippets/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
/* Module Resolution Options */
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": ["../"], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
Expand Down
4 changes: 2 additions & 2 deletions v2/demo-snippets/tutorials/getting_started/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { demo } from "demo";
import { RenderStateDemoHost } from "hosts";
import { demo } from "../../demo";
import { RenderStateDemoHost } from "../../hosts";
/** Here goes code demo code that you can see in the playground */
import spheres from "./spheres.ts?raw";
import basic from "./basic.ts?raw";
Expand Down
4 changes: 2 additions & 2 deletions v2/demo-snippets/tutorials/loading_scenes/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { demo } from "demo";
import { ViewDemoHost } from "hosts";
import { demo } from "../../demo";
import { ViewDemoHost } from "../../hosts";
/** Here goes code demo code that you can see in the playground */
import publicScene from "./public_scene.ts?raw";
import privateScene from "./private_scene.ts?raw";
Expand Down
2 changes: 1 addition & 1 deletion v2/src/components/MonacoWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Allotment } from "allotment";
import { Popover } from "react-tiny-popover";
import Renderer from "@site/src/components/Renderer";
import Spinner from "@site/src/components/misc/spinner";
import { IDemoHost, type IDempProps, createDemoContext } from "@site/demo-snippets/config";
import { IDemoHost, type IDempProps, createDemoContext } from "@site/demo-snippets/demo";
const { devDependencies } = require("../../../package.json");

/** CSS */
Expand Down

0 comments on commit 78278c5

Please sign in to comment.