mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
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:
1 parent
6dfa4299d7
commit
36e29448e9
71 files changed
+615
-1204
No files matched your search
+8
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user