mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-10-30 19:36:25 +00:00
* Re-add "realpath" to LanguageServiceHost Implement resolveModuleNames that forces modules to be considered internal (not from an external library) when we need them to be emitted * fix linter failures * fix failure on old ts version * Add $$ts-node-root.ts synthetic root file, which `/// <reference`'s all require()d files to force them to be included in compilation without modifying the rootFiles array * Preserve path casing in /// <references * fix * Revert $$ts-node-root changes, limiting only to the isExternal* changes * Add new resolver behavior to the CompilerHost codepath * WIP * add tests; plus fixes * Fix tests * Code-reviewing myself * fix tests * add missing test files * fix tests * fix tests * fix linter * fix tests on windows * remove comma from the diff * Update package.json * adding handling of @scoped modules in bucketing logic; adds tests
9 lines
410 B
TypeScript
9 lines
410 B
TypeScript
// These files are resolved by the typechecker
|
|
import * as tsmii from './typescript-module-imported-internally'
|
|
export {tsmii}
|
|
import * as jsmii from './javascript-module-imported-internally'
|
|
export {jsmii}
|
|
// These files are unknown to the compiler until required.
|
|
export const tsmri = require('./typescript-module-required-internally')
|
|
export const jsmri = require('./javascript-module-required-internally')
|