Skip to content

Commit a31008f

Browse files
Fix bundler issues
1 parent 3da00a4 commit a31008f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/conductor/PyEvaluator.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
import { runInContext } from "..";
66
import { Context } from "../cse-machine/context";
7-
import { BasicEvaluator } from "@sourceacademy/conductor";
8-
import { IRunnerPlugin } from "@sourceacademy/conductor";
7+
import { BasicEvaluator, IRunnerPlugin } from "@sourceacademy/conductor/runner";
98
import { IOptions } from "..";
109
import { Finished } from "../types";
1110

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/* Modules */
3636
"module": "ESNext",// /* Specify what module code is generated. */
3737
"rootDir": "src", /* Specify the root folder within your source files. */
38-
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
38+
"moduleResolution": "bundler", /* Specify how TypeScript looks up a file from a given module specifier. */
3939
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
4040
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
4141
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */

0 commit comments

Comments
 (0)