Get codebase building pre bundling

This isn't totally complete, but enough to get everything building and
tests running manually. The next commit will make the build work fully.
This commit is contained in:
Jake Bailey committed 2022-11-07 13:34:44 -08:00
1 parent 6dfa4299d7
commit 36e29448e9
71 files changed
+615 -1204

No files matched your search

+8 -1
View File
@@ -1521,7 +1521,14 @@ export let sys: System = (() => {
}
},
getExecutingFilePath() {
return __filename;
// This function previously returned a path like `built/local/tsc.js`.
// Now, with a module output, this file is now `built/local/compiler/sys.js`.
// We want to return a file that looks like the old one, so that callers
// can locate other assets like the lib.d.ts files.
//
// TODO(jakebailey): replace this function with one that returns the path
// to the lib folder (or package path)?.
return _path.join(_path.dirname(__dirname), "fake.js");
},
getCurrentDirectory,
getDirectories,