@hirarijs/loader-ts 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -213384,6 +213384,9 @@ function createTsResolve(filename, debug = false) {
|
|
|
213384
213384
|
if (!configPath) return null;
|
|
213385
213385
|
const configFile = import_typescript.default.readConfigFile(configPath, import_typescript.default.sys.readFile);
|
|
213386
213386
|
const config = import_typescript.default.parseJsonConfigFileContent(configFile.config, import_typescript.default.sys, import_path.default.dirname(configPath));
|
|
213387
|
+
if (debug) {
|
|
213388
|
+
console.log("[loader-ts] tsconfig:", configPath);
|
|
213389
|
+
}
|
|
213387
213390
|
const options = config.options;
|
|
213388
213391
|
const host = {
|
|
213389
213392
|
fileExists: import_typescript.default.sys.fileExists,
|
package/dist/index.js
CHANGED
|
@@ -213381,6 +213381,9 @@ function createTsResolve(filename, debug = false) {
|
|
|
213381
213381
|
if (!configPath) return null;
|
|
213382
213382
|
const configFile = import_typescript.default.readConfigFile(configPath, import_typescript.default.sys.readFile);
|
|
213383
213383
|
const config = import_typescript.default.parseJsonConfigFileContent(configFile.config, import_typescript.default.sys, path.dirname(configPath));
|
|
213384
|
+
if (debug) {
|
|
213385
|
+
console.log("[loader-ts] tsconfig:", configPath);
|
|
213386
|
+
}
|
|
213384
213387
|
const options = config.options;
|
|
213385
213388
|
const host = {
|
|
213386
213389
|
fileExists: import_typescript.default.sys.fileExists,
|