From 54350967f7d1cab83a3b549c6a98b881803f0911 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 21 Apr 2021 22:38:06 -0700 Subject: [PATCH 1/6] Backport "Use caches for module resolution and type reference directives when using compiler default functions" #1287 to v8 --- CHANGELOG.md | 5 + package.json | 2 +- src/interfaces.ts | 48 ++++- src/servicesHost.ts | 190 ++++++++++++++---- src/watch-run.ts | 3 + .../expectedOutput-4.1/patch0/output.txt | 15 +- .../expectedOutput-4.1/patch0/output.txt | 15 +- 7 files changed, 220 insertions(+), 58 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 122e0dc5a..4eebfdc47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## v8.2.0 + +* [Use caches for module resolution and type reference directives when using compiler default functions](https://github.com/TypeStrong/ts-loader/pull/1287) - thanks @sheetalkamat - uses: https://github.com/microsoft/TypeScript/pull/43700 +* This is a backport from v9.1.0 for webpack 4 compatibility + ## v8.1.0 * [feat: remove top-level typescript import statements](https://github.com/TypeStrong/ts-loader/pull/1259) - thanks @ulivz diff --git a/package.json b/package.json index 55ad0e6e8..f4bdf0c9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.1.0", + "version": "8.2.0", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/interfaces.ts b/src/interfaces.ts index f2bf5a4b5..6fec20479 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -102,8 +102,9 @@ export interface ServiceHostWhichMayBeCacheable export interface WatchHost extends typescript.WatchCompilerHostOfFilesAndCompilerOptions< - typescript.EmitAndSemanticDiagnosticsBuilderProgram - > { + typescript.EmitAndSemanticDiagnosticsBuilderProgram + >, + HostMayBeCacheable { invokeFileWatcher: WatchFactory['invokeFileWatcher']; updateRootFileNames(): void; outputFiles: Map; @@ -178,6 +179,47 @@ export interface ConfigFileInfo { dtsFiles?: string[]; } +interface CacheWithRedirects { + ownMap: Map; + redirectsMap: Map>; + getOrCreateMapOfCacheRedirects( + redirectedReference: typescript.ResolvedProjectReference | undefined + ): Map; + clear(): void; + setOwnOptions(newOptions: typescript.CompilerOptions): void; + setOwnMap(newOwnMap: Map): void; +} +interface PerModuleNameCache { + get( + directory: string + ): typescript.ResolvedModuleWithFailedLookupLocations | undefined; + set( + directory: string, + result: typescript.ResolvedModuleWithFailedLookupLocations + ): void; +} +export interface ModuleResolutionCache + extends typescript.ModuleResolutionCache { + directoryToModuleNameMap: CacheWithRedirects< + Map + >; + moduleNameToDirectoryMap: CacheWithRedirects; + clear(): void; + update(compilerOptions: typescript.CompilerOptions): void; + getPackageJsonInfoCache?(): any; +} +// Until the API has been released and ts-loader is built against a version of TypeScript that contains it - see https://github.com/microsoft/TypeScript/blob/74993a2a64bb2e423b40204bb54ff749cdd4ef54/src/compiler/moduleNameResolver.ts#L458 +export interface TypeReferenceDirectiveResolutionCache { + getOrCreateCacheForDirectory( + directoryName: string, + redirectedReference?: typescript.ResolvedProjectReference + ): Map< + string, + typescript.ResolvedTypeReferenceDirectiveWithFailedLookupLocations + >; + clear(): void; + update(compilerOptions: typescript.CompilerOptions): void; +} export interface TSInstance { compiler: typeof typescript; compilerOptions: typescript.CompilerOptions; @@ -185,6 +227,8 @@ export interface TSInstance { appendTsTsxSuffixesIfRequired: (filePath: string) => string; loaderOptions: LoaderOptions; rootFileNames: Set; + moduleResolutionCache?: ModuleResolutionCache; + typeReferenceResolutionCache?: TypeReferenceDirectiveResolutionCache; /** * a cache of all the files */ diff --git a/src/servicesHost.ts b/src/servicesHost.ts index d44dce8b7..3125bc7a0 100644 --- a/src/servicesHost.ts +++ b/src/servicesHost.ts @@ -10,6 +10,7 @@ import { CustomResolveModuleName, CustomResolveTypeReferenceDirective, FilePathKey, + ModuleResolutionCache, ModuleResolutionHostMayBeCacheable, ResolvedModule, ResolveSync, @@ -248,39 +249,19 @@ function makeResolvers( scriptRegex: RegExp, instance: TSInstance ) { - const resolveTypeReferenceDirective = makeResolveTypeReferenceDirective( - compiler, - compilerOptions, - moduleResolutionHost, - customResolveTypeReferenceDirective - ); - - const resolveTypeReferenceDirectives = ( - typeDirectiveNames: string[], - containingFile: string, - _redirectedReference?: typescript.ResolvedProjectReference - ): (typescript.ResolvedTypeReferenceDirective | undefined)[] => - typeDirectiveNames.map( - directive => - resolveTypeReferenceDirective( - directive, - containingFile, - _redirectedReference - ).resolvedTypeReferenceDirective - ); - const resolveModuleName = makeResolveModuleName( compiler, compilerOptions, moduleResolutionHost, - customResolveModuleName + customResolveModuleName, + instance ); const resolveModuleNames = ( moduleNames: string[], containingFile: string, _reusedNames?: string[] | undefined, - _redirectedReference?: typescript.ResolvedProjectReference | undefined + redirectedReference?: typescript.ResolvedProjectReference | undefined ): (typescript.ResolvedModule | undefined)[] => { const resolvedModules = moduleNames.map(moduleName => resolveModule( @@ -289,7 +270,8 @@ function makeResolvers( appendTsTsxSuffixesIfRequired, scriptRegex, moduleName, - containingFile + containingFile, + redirectedReference ) ); @@ -298,6 +280,28 @@ function makeResolvers( return resolvedModules; }; + const resolveTypeReferenceDirective = makeResolveTypeReferenceDirective( + compiler, + compilerOptions, + moduleResolutionHost, + customResolveTypeReferenceDirective, + instance + ); + + const resolveTypeReferenceDirectives = ( + typeDirectiveNames: string[], + containingFile: string, + redirectedReference?: typescript.ResolvedProjectReference + ): (typescript.ResolvedTypeReferenceDirective | undefined)[] => + typeDirectiveNames.map( + directive => + resolveTypeReferenceDirective( + directive, + containingFile, + redirectedReference + ).resolvedTypeReferenceDirective + ); + return { resolveTypeReferenceDirectives, resolveModuleNames, @@ -493,7 +497,7 @@ export function makeWatchHost( fileName => files.has(filePathKeyMapper(fileName)) || compiler.sys.fileExists(fileName), - /*enabledCaching*/ false + instance.loaderOptions.experimentalFileCaching ); const watchHost: WatchHost = { @@ -601,6 +605,60 @@ export function makeWatchHost( const missingFileModifiedTime = new Date(0); +function identity(x: T) { + return x; +} +function toLowerCase(x: string) { + return x.toLowerCase(); +} +const fileNameLowerCaseRegExp = /[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g; +function toFileNameLowerCase(x: string) { + return fileNameLowerCaseRegExp.test(x) + ? x.replace(fileNameLowerCaseRegExp, toLowerCase) + : x; +} +function createGetCanonicalFileName(instance: TSInstance) { + return useCaseSensitiveFileNames(instance.compiler, instance.loaderOptions) + ? identity + : toFileNameLowerCase; +} + +function createModuleResolutionCache( + instance: TSInstance, + moduleResolutionHost: typescript.ModuleResolutionHost +): ModuleResolutionCache { + const cache = instance.compiler.createModuleResolutionCache( + moduleResolutionHost.getCurrentDirectory!(), + createGetCanonicalFileName(instance), + instance.compilerOptions + ) as ModuleResolutionCache; + // Add new API optional methods + if (!cache.clear) { + cache.clear = () => { + cache.directoryToModuleNameMap.clear(); + cache.moduleNameToDirectoryMap.clear(); + }; + } + if (!cache.update) { + cache.update = options => { + if (!options.configFile) return; + const ref: typescript.ResolvedProjectReference = { + sourceFile: options.configFile! as typescript.TsConfigSourceFile, + commandLine: { options } as typescript.ParsedCommandLine, + }; + cache.directoryToModuleNameMap.setOwnMap( + cache.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(ref) + ); + cache.moduleNameToDirectoryMap.setOwnMap( + cache.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(ref) + ); + cache.directoryToModuleNameMap.setOwnOptions(options); + cache.moduleNameToDirectoryMap.setOwnOptions(options); + }; + } + return cache; +} + /** * Create the TypeScript Watch host */ @@ -618,12 +676,7 @@ export function makeSolutionBuilderHost( // loader.context seems to work fine on Linux / Mac regardless causes problems for @types resolution on Windows for TypeScript < 2.3 const formatDiagnosticHost: typescript.FormatDiagnosticsHost = { getCurrentDirectory: compiler.sys.getCurrentDirectory, - getCanonicalFileName: useCaseSensitiveFileNames( - compiler, - instance.loaderOptions - ) - ? s => s - : s => s.toLowerCase(), + getCanonicalFileName: createGetCanonicalFileName(instance), getNewLine: () => compiler.sys.newLine, }; @@ -706,6 +759,28 @@ export function makeSolutionBuilderHost( const solutionBuilderHost: SolutionBuilderWithWatchHost = { ...sysHost, ...moduleResolutionHost, + createProgram: ( + rootNames, + options, + host, + oldProgram, + configFileParsingDiagnostics, + projectReferences + ) => { + instance.moduleResolutionCache?.update(options || {}); + instance.typeReferenceResolutionCache?.update(options || {}); + const result = sysHost.createProgram( + rootNames, + options, + host, + oldProgram, + configFileParsingDiagnostics, + projectReferences + ); + instance.typeReferenceResolutionCache?.update(instance.compilerOptions); + instance.moduleResolutionCache?.update(instance.compilerOptions); + return result; + }, resolveModuleNames, resolveTypeReferenceDirectives, diagnostics, @@ -1092,16 +1167,31 @@ function makeResolveTypeReferenceDirective( moduleResolutionHost: typescript.ModuleResolutionHost, customResolveTypeReferenceDirective: | CustomResolveTypeReferenceDirective - | undefined + | undefined, + instance: TSInstance ): ResolveTypeReferenceDirective { if (customResolveTypeReferenceDirective === undefined) { + // Until the api is published + if ( + (compiler as any).createTypeReferenceDirectiveResolutionCache && + !instance.typeReferenceResolutionCache + ) { + instance.typeReferenceResolutionCache = (compiler as any).createTypeReferenceDirectiveResolutionCache( + moduleResolutionHost.getCurrentDirectory!(), + createGetCanonicalFileName(instance), + instance.compilerOptions, + instance.moduleResolutionCache?.getPackageJsonInfoCache?.() + ); + } return (directive, containingFile, redirectedReference) => - compiler.resolveTypeReferenceDirective( + // Until the api is published + (compiler.resolveTypeReferenceDirective as any)( directive, containingFile, compilerOptions, moduleResolutionHost, - redirectedReference + redirectedReference, + instance.typeReferenceResolutionCache ); } @@ -1131,7 +1221,8 @@ function resolveModule( appendTsTsxSuffixesIfRequired: (filePath: string) => string, scriptRegex: RegExp, moduleName: string, - containingFile: string + containingFile: string, + redirectedReference: typescript.ResolvedProjectReference | undefined ) { let resolutionResult: ResolvedModule; @@ -1149,16 +1240,19 @@ function resolveModule( } } catch (e) {} - const tsResolution = resolveModuleName(moduleName, containingFile); + const tsResolution = resolveModuleName( + moduleName, + containingFile, + redirectedReference + ); if (tsResolution.resolvedModule !== undefined) { const resolvedFileName = path.normalize( tsResolution.resolvedModule.resolvedFileName ); const tsResolutionResult: ResolvedModule = { + ...tsResolution.resolvedModule, originalFileName: resolvedFileName, resolvedFileName, - isExternalLibraryImport: - tsResolution.resolvedModule.isExternalLibraryImport, }; return resolutionResult! === undefined || @@ -1173,26 +1267,36 @@ function resolveModule( type ResolveModuleName = ( moduleName: string, - containingFile: string + containingFile: string, + redirectedReference: typescript.ResolvedProjectReference | undefined ) => typescript.ResolvedModuleWithFailedLookupLocations; function makeResolveModuleName( compiler: typeof typescript, compilerOptions: typescript.CompilerOptions, moduleResolutionHost: typescript.ModuleResolutionHost, - customResolveModuleName: CustomResolveModuleName | undefined + customResolveModuleName: CustomResolveModuleName | undefined, + instance: TSInstance ): ResolveModuleName { if (customResolveModuleName === undefined) { - return (moduleName: string, containingFile: string) => + if (!instance.moduleResolutionCache) { + instance.moduleResolutionCache = createModuleResolutionCache( + instance, + moduleResolutionHost + ); + } + return (moduleName, containingFile, redirectedReference) => compiler.resolveModuleName( moduleName, containingFile, compilerOptions, - moduleResolutionHost + moduleResolutionHost, + instance.moduleResolutionCache, + redirectedReference ); } - return (moduleName: string, containingFile: string) => + return (moduleName, containingFile) => customResolveModuleName( moduleName, containingFile, diff --git a/src/watch-run.ts b/src/watch-run.ts index 69b9e0c6d..f117979f7 100644 --- a/src/watch-run.ts +++ b/src/watch-run.ts @@ -22,6 +22,9 @@ export function makeWatchRun( return (compiler: webpack.Compiler, callback: (err?: Error) => void) => { instance.servicesHost?.clearCache?.(); + instance.watchHost?.clearCache?.(); + instance.moduleResolutionCache?.clear(); + instance.typeReferenceResolutionCache?.clear(); const promises = []; if (instance.loaderOptions.transpileOnly) { instance.reportTranspileErrors = true; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt index 86ba1eac3..70a63dbeb 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt @@ -1,14 +1,17 @@ Asset Size Chunks Chunk Names - ../../lib/dist/index.d.ts 54 bytes [emitted] - ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 4.98 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] [../lib/dist/index.js] 236 bytes {main} [built] [./src/index.ts] 108 bytes {main} [built] [1 error] -ERROR in app/src/index.ts +ERROR in app\src\index.ts ./src/index.ts 1:9-25 -[tsl] ERROR in app/src/index.ts(1,10) - TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file +[tsl] ERROR in app\src\index.ts(1,10) + TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? +ts-loader-default_d959ab86f3fcf84f + +webpack compiled with 1 error diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt index 86ba1eac3..835660b4d 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -1,14 +1,17 @@ Asset Size Chunks Chunk Names - ../../lib/dist/index.d.ts 54 bytes [emitted] - ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 4.98 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] [../lib/dist/index.js] 236 bytes {main} [built] [./src/index.ts] 108 bytes {main} [built] [1 error] -ERROR in app/src/index.ts +ERROR in app\src\index.ts ./src/index.ts 1:9-25 -[tsl] ERROR in app/src/index.ts(1,10) - TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file +[tsl] ERROR in app\src\index.ts(1,10) + TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? +ts-loader-default_ad9bee6dd825c8a5 + +webpack compiled with 1 error From f04c5cf001817bf60de0dd989f9ab929efdf77ea Mon Sep 17 00:00:00 2001 From: Jason Kleban Date: Thu, 22 Apr 2021 12:09:00 -0400 Subject: [PATCH 2/6] regen comparison tests --- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 6 ++-- .../expectedOutput-4.1/bundle.js | 29 ++------------- .../expectedOutput-4.1/output.txt | 35 ++++++++++++++++--- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../colors/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 4 +-- .../expectedOutput-4.1/output.txt | 4 +-- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 4 +-- .../errors/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../es3/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch1/output.txt | 2 +- .../instance/expectedOutput-4.1/bundle.js | 2 +- .../instance/expectedOutput-4.1/output.txt | 16 ++++----- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 14 ++++---- .../issue441/expectedOutput-4.1/bundle.js | 2 +- .../issue441/expectedOutput-4.1/output.txt | 4 +-- .../expectedOutput-4.1/patch0/bundle.js | 2 +- .../expectedOutput-4.1/patch0/output.txt | 4 +-- .../expectedOutput-4.1/patch1/bundle.js | 2 +- .../expectedOutput-4.1/patch1/output.txt | 4 +-- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 4 +-- .../patch0/bundle.js | 2 +- .../patch0/output.txt | 4 +-- .../patch1/bundle.js | 2 +- .../patch1/output.txt | 4 +-- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 14 ++++---- .../nolib/expectedOutput-4.1/output.txt | 2 +- .../npmLink/expectedOutput-4.1/bundle.js | 8 ++--- .../npmLink/expectedOutput-4.1/output.txt | 4 +-- .../expectedOutput-transpile-4.1/bundle.js | 8 ++--- .../expectedOutput-transpile-4.1/output.txt | 6 ++-- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../production/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/bundle.js | 4 +-- .../expectedOutput-4.1/output.txt | 34 +++++++++--------- .../expectedOutput-4.1/patch0/bundle.js | 2 +- .../expectedOutput-4.1/patch0/output.txt | 18 +++++----- .../expectedOutput-4.1/patch3/output.txt | 4 +-- .../expectedOutput-4.1/patch5/output.txt | 4 +-- .../expectedOutput-transpile-4.1/bundle.js | 4 +-- .../expectedOutput-transpile-4.1/output.txt | 30 ++++++++-------- .../patch0/bundle.js | 2 +- .../patch0/output.txt | 16 ++++----- .../patch3/output.txt | 2 +- .../patch5/output.txt | 2 +- .../expectedOutput-4.1/patch3/output.txt | 6 ++-- .../expectedOutput-4.1/patch5/output.txt | 6 ++-- .../patch3/output.txt | 2 +- .../patch5/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 18 +++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/patch2/output.txt | 8 ++--- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../expectedOutput-4.1/patch2/output.txt | 8 ++--- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../expectedOutput-4.1/patch0/output.txt | 13 +++---- .../lib/tsconfig.tsbuildinfo | 6 ++-- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 ++-- .../patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 6 ++-- .../lib/tsconfig.tsbuildinfo | 6 ++-- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 ++-- .../patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 6 ++-- .../lib/tsconfig.tsbuildinfo | 6 ++-- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 ++-- .../patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 13 +++---- .../lib/tsconfig.tsbuildinfo | 6 ++-- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 ++-- .../patch0/output.txt | 2 +- .../expectedOutput-4.1/patch2/output.txt | 12 +++---- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../expectedOutput-4.1/patch2/output.txt | 12 +++---- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../expectedOutput-4.1/patch2/output.txt | 12 +++---- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../reportFiles/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 8 ++--- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 8 ++--- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 8 ++--- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 21 +++++++---- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 23 +++++++----- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 12 +++---- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 12 +++---- 140 files changed, 460 insertions(+), 450 deletions(-) diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt index 718fff194..c0da8c1a3 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 46 bytes {main} [built] ERROR in app.ts -./app.ts 2:30-55 +./app.ts [tsl] ERROR in app.ts(2,31)  TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt index 7c081f883..bf0ca3fd3 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 45 bytes {main} [built] ERROR in app.ts -./app.ts 2:30-55 +./app.ts [tsl] ERROR in app.ts(2,31)  TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt index c65bff5ac..cf265487e 100644 --- a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt @@ -5,7 +5,7 @@ Entrypoint main = bundle.js [./src/error2.js] 303 bytes {main} [built] [1 error] [./src/index.js] 207 bytes {main} [built] -ERROR in src/error2.js -./src/error2.js 4:9-12 -[tsl] ERROR in src/error2.js(4,10) +ERROR in src\error2.js +./src/error2.js +[tsl] ERROR in src\error2.js(4,10)  TS2339: Property 'bar' does not exist on type 'Class2'. \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js index 9b5d280a3..a9a0bfdb9 100644 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js @@ -86,39 +86,14 @@ /************************************************************************/ /******/ ({ -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - /***/ "./index.vue": /*!*******************!*\ !*** ./index.vue ***! \*******************/ /*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ (function(module, exports) { -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: ENOENT: no such file or directory, lstat 'C://code//ts-loader//.test//appendSuffixTo//index.vue.ts'/n at Object.realpathSync (fs.js:1681:7)/n at resolveModule (C://code//ts-loader//dist//servicesHost.js:678:58)/n at C://code//ts-loader//dist//servicesHost.js:132:13/n at Array.map ()/n at Object.resolveModuleNames (C://code//ts-loader//dist//servicesHost.js:130:65)/n at actualResolveModuleNamesWorker (C://code//ts-loader//node_modules//typescript//lib//typescript.js:105296:133)/n at resolveModuleNamesWorker (C://code//ts-loader//node_modules//typescript//lib//typescript.js:105534:26)/n at resolveModuleNamesReusingOldState (C://code//ts-loader//node_modules//typescript//lib//typescript.js:105648:24)/n at processImportedModules (C://code//ts-loader//node_modules//typescript//lib//typescript.js:107135:35)/n at findSourceFileWorker (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106907:17)/n at findSourceFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106769:26)/n at C://code//ts-loader//node_modules//typescript//lib//typescript.js:106726:85/n at getSourceFileFromReferenceWorker (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106693:34)/n at processSourceFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106726:13)/n at processRootFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106536:13)/n at C://code//ts-loader//node_modules//typescript//lib//typescript.js:105401:60/n at Object.forEach (C://code//ts-loader//node_modules//typescript//lib//typescript.js:382:30)/n at Object.createProgram (C://code//ts-loader//node_modules//typescript//lib//typescript.js:105401:16)/n at synchronizeHostData (C://code//ts-loader//node_modules//typescript//lib//typescript.js:147139:26)/n at Object.getProgram (C://code//ts-loader//node_modules//typescript//lib//typescript.js:147231:13)/n at Object.ensureProgram (C://code//ts-loader//dist//utils.js:193:41)/n at Object.getEmitOutput (C://code//ts-loader//dist//instances.js:491:29)/n at getEmit (C://code//ts-loader//dist//index.js:261:37)/n at successLoader (C://code//ts-loader//dist//index.js:39:11)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./index.vue?"); /***/ }) diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt index df193ab5e..f10ceae44 100644 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt @@ -1,6 +1,33 @@ Asset Size Chunks Chunk Names -bundle.js 5.03 KiB main [emitted] main +bundle.js 6.36 KiB main [emitted] main Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 154 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file +[./index.vue] 2.34 KiB {main} [built] [failed] [1 error] + +ERROR in ./index.vue +Module build failed (from /index.js): +Error: ENOENT: no such file or directory, lstat 'index.vue.ts' + at Object.realpathSync (fs.js:1681:7) + at resolveModule (dist\servicesHost.js:678:58) + at dist\servicesHost.js:132:13 + at Array.map () + at Object.resolveModuleNames (dist\servicesHost.js:130:65) + at actualResolveModuleNamesWorker (node_modules\typescript\lib\typescript.js:105296:133) + at resolveModuleNamesWorker (node_modules\typescript\lib\typescript.js:105534:26) + at resolveModuleNamesReusingOldState (node_modules\typescript\lib\typescript.js:105648:24) + at processImportedModules (node_modules\typescript\lib\typescript.js:107135:35) + at findSourceFileWorker (node_modules\typescript\lib\typescript.js:106907:17) + at findSourceFile (node_modules\typescript\lib\typescript.js:106769:26) + at node_modules\typescript\lib\typescript.js:106726:85 + at getSourceFileFromReferenceWorker (node_modules\typescript\lib\typescript.js:106693:34) + at processSourceFile (node_modules\typescript\lib\typescript.js:106726:13) + at processRootFile (node_modules\typescript\lib\typescript.js:106536:13) + at node_modules\typescript\lib\typescript.js:105401:60 + at Object.forEach (node_modules\typescript\lib\typescript.js:382:30) + at Object.createProgram (node_modules\typescript\lib\typescript.js:105401:16) + at synchronizeHostData (node_modules\typescript\lib\typescript.js:147139:26) + at Object.getProgram (node_modules\typescript\lib\typescript.js:147231:13) + at Object.ensureProgram (dist\utils.js:193:41) + at Object.getEmitOutput (dist\instances.js:491:29) + at getEmit (dist\index.js:261:37) + at successLoader (dist\index.js:39:11) + at Object.loader (dist\index.js:23:5) \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt index a8db6db09..9fac8da0d 100644 --- a/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./submodule/submodule.ts] 149 bytes {main} ERROR in app.ts -./app.ts 3:12-24 +./app.ts [tsl] ERROR in app.ts(3,13)  TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.1/output.txt b/test/comparison-tests/colors/expectedOutput-4.1/output.txt index 613a362fe..117027d85 100644 --- a/test/comparison-tests/colors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/colors/expectedOutput-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts 1:6-8 +./app.ts [tsl] ERROR in app.ts(1,7) TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt index 613a362fe..117027d85 100644 --- a/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts 1:6-8 +./app.ts [tsl] ERROR in app.ts(1,7) TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt index b8e99c377..31af3d0b6 100644 --- a/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 41 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts 2:6-11 +./app.ts [tsl] ERROR in app.ts(2,7)  TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt index b6e14df72..f818ddc7c 100644 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt @@ -5,11 +5,11 @@ Entrypoint main = bundle.js [./dep.ts] 59 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts 5:6-17 +./app.ts [tsl] ERROR in app.ts(5,7)  TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. ERROR in dep.ts -./dep.ts 1:6-17 +./dep.ts [tsl] ERROR in dep.ts(1,7)  TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt index ca6be6cde..9bf366413 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt @@ -6,11 +6,11 @@ Entrypoint main = bundle.js [./dep2.ts] 76 bytes {main} [built] ERROR in app.ts -./app.ts 4:5-7 +./app.ts [tsl] ERROR in app.ts(4,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. ERROR in app.ts -./app.ts 5:5-7 +./app.ts [tsl] ERROR in app.ts(5,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt index 82b969098..f4ea07b34 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./dep2.ts] 76 bytes {main} ERROR in app.ts -./app.ts 5:5-7 +./app.ts [tsl] ERROR in app.ts(5,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt index d023ac4c6..6c457bebd 100644 --- a/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt @@ -5,5 +5,5 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 46 bytes {main} [built] ERROR in app.ts -./app.ts 2:30-55 -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter \ No newline at end of file +./app.ts +Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-4.1/output.txt b/test/comparison-tests/errors/expectedOutput-4.1/output.txt index 07aed0162..c48ec99d2 100644 --- a/test/comparison-tests/errors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/errors/expectedOutput-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts 1:6-8 +./app.ts [tsl] ERROR in app.ts(1,7)  TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt index 96bc80dea..ffab7fca9 100644 --- a/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ Entrypoint main = bundle.js [./app.ts] 220 bytes {main} [built] [failed] [2 errors] ERROR in app.ts -./app.ts 1:6-8 +./app.ts [tsl] ERROR in app.ts(1,7)  TS1005: ',' expected. diff --git a/test/comparison-tests/es3/expectedOutput-4.1/output.txt b/test/comparison-tests/es3/expectedOutput-4.1/output.txt index fe96190e5..12a3418dd 100644 --- a/test/comparison-tests/es3/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/es3/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 29 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts 1:6-7 +./app.ts [tsl] ERROR in app.ts(1,7)  TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt index b42812bf2..bcc531083 100644 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 278 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts 9:4-5 +./app.ts [tsl] ERROR in app.ts(9,5)  TS2322: Type 'string' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt index 3e3ae7492..5773b734b 100644 --- a/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt +++ b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 70 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts 4:0-7 +./app.ts [tsl] ERROR in app.ts(4,1)  TS2322: Type 'string' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-4.1/bundle.js b/test/comparison-tests/instance/expectedOutput-4.1/bundle.js index ca4accdbc..b172f17bd 100644 --- a/test/comparison-tests/instance/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/instance/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://code//ts-loader//.test//instance//i-dont-exist/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); /***/ }) diff --git a/test/comparison-tests/instance/expectedOutput-4.1/output.txt b/test/comparison-tests/instance/expectedOutput-4.1/output.txt index 09690c0b5..1167dfee7 100644 --- a/test/comparison-tests/instance/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/instance/expectedOutput-4.1/output.txt @@ -1,19 +1,19 @@ - Asset Size Chunks Chunk Names -bundle.js 4 KiB a [emitted] a + Asset Size Chunks Chunk Names +bundle.js 4.01 KiB a [emitted] a Entrypoint a = bundle.js Entrypoint b = -[./a.ts] 276 bytes {a} [built] [failed] [1 error] -[./b.ts] 276 bytes {b} [built] [failed] [1 error] +[./a.ts] 273 bytes {a} [built] [failed] [1 error] +[./b.ts] 273 bytes {b} [built] [failed] [1 error] ERROR in ./a.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist/index.js:18:18) + at Object.loader (dist\index.js:18:18) ERROR in ./b.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist/index.js:18:18) + at Object.loader (dist\index.js:18:18) ERROR in chunk b [entry] bundle.js diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js index 93b129d61..b337e3853 100644 --- a/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://code//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); /***/ }) diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt index 1da55bdfe..41b0bbbb8 100644 --- a/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt @@ -1,19 +1,19 @@ Asset Size Chunks Chunk Names -bundle.js 4.01 KiB a [emitted] a +bundle.js 4.02 KiB a [emitted] a Entrypoint a = bundle.js Entrypoint b = -[./a.ts] 286 bytes {a} [built] [failed] [1 error] -[./b.ts] 286 bytes {b} [built] [failed] [1 error] +[./a.ts] 283 bytes {a} [built] [failed] [1 error] +[./b.ts] 283 bytes {b} [built] [failed] [1 error] ERROR in ./a.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist/index.js:18:18) + at Object.loader (dist\index.js:18:18) ERROR in ./b.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist/index.js:18:18) + at Object.loader (dist\index.js:18:18) ERROR in chunk b [entry] bundle.js diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js index 93a3017f9..b04086bcd 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/output.txt index 41a3f8c48..d810f4517 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-4.1/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main +bundle.js 3.84 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file +[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js index 93a3017f9..b04086bcd 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt index 41a3f8c48..d810f4517 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main +bundle.js 3.84 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file +[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js index 93a3017f9..b04086bcd 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt index 41a3f8c48..d810f4517 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main +bundle.js 3.84 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file +[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js index 93a3017f9..b04086bcd 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt index 41a3f8c48..d810f4517 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main +bundle.js 3.84 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file +[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js index 93a3017f9..b04086bcd 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt index 41a3f8c48..d810f4517 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main +bundle.js 3.84 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file +[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js index 93a3017f9..b04086bcd 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt index 41a3f8c48..d810f4517 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main +bundle.js 3.84 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file +[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js index 9d75ab1f4..e43628397 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./nod /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); /***/ }) diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt index 889006393..125613a40 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt @@ -1,15 +1,15 @@ Asset Size Chunks Chunk Names -bundle.js 4.82 KiB main [emitted] main +bundle.js 4.86 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 659 bytes {main} [built] [failed] [1 error] +[./node_modules/a/index.ts] 658 bytes {main} [built] [failed] [1 error] ERROR in ./node_modules/a/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules. +Module build failed (from /index.js): +Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. See: https://github.com/Microsoft/TypeScript/issues/12358 - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-4.1/output.txt b/test/comparison-tests/nolib/expectedOutput-4.1/output.txt index 3dd528d24..8c8e530d0 100644 --- a/test/comparison-tests/nolib/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/nolib/expectedOutput-4.1/output.txt @@ -32,6 +32,6 @@ ERROR in tsconfig.json  TS2318: Cannot find global type 'RegExp'. ERROR in app.ts -./app.ts 1:0-8 +./app.ts [tsl] ERROR in app.ts(1,1)  TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js b/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js index 287c4a520..7d9bfaa7a 100644 --- a/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js @@ -87,14 +87,14 @@ /******/ ({ /***/ "../../test/comparison-tests/testLib/foo.ts": -/*!******************************************************************!*\ - !*** /workspaces/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \******************************************************************/ +/*!**************************************************************!*\ + !*** C:/code/ts-loader/test/comparison-tests/testLib/foo.ts ***! + \**************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:////workspaces/ts-loader/test/comparison-tests/testLib/foo.ts?"); +eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/code/ts-loader/test/comparison-tests/testLib/foo.ts?"); /***/ }), diff --git a/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt b/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt index e139e212a..be6f473d8 100644 --- a/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 4.45 KiB main [emitted] main +bundle.js 4.44 KiB main [emitted] main Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] +[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] [./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js index dee869d56..2a1fbb710 100644 --- a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js @@ -87,14 +87,14 @@ /******/ ({ /***/ "../../test/comparison-tests/testLib/foo.ts": -/*!******************************************************************!*\ - !*** /workspaces/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \******************************************************************/ +/*!**************************************************************!*\ + !*** C:/code/ts-loader/test/comparison-tests/testLib/foo.ts ***! + \**************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'foo';\n\n\n//# sourceURL=webpack:////workspaces/ts-loader/test/comparison-tests/testLib/foo.ts?"); +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'foo';\n\n\n//# sourceURL=webpack:///C:/code/ts-loader/test/comparison-tests/testLib/foo.ts?"); /***/ }), diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt index 875e3d2db..5971df720 100644 --- a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 4.52 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 4.5 KiB main [emitted] main Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] test/comparison-tests/testLib/foo.ts 102 bytes {main} [built] +[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 102 bytes {main} [built] [./app.ts] 137 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt index a8db6db09..9fac8da0d 100644 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./submodule/submodule.ts] 149 bytes {main} ERROR in app.ts -./app.ts 3:12-24 +./app.ts [tsl] ERROR in app.ts(3,13)  TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-4.1/output.txt b/test/comparison-tests/production/expectedOutput-4.1/output.txt index 22ce36262..63923ad42 100644 --- a/test/comparison-tests/production/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/production/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [0] ./app.ts 27 bytes {0} [built] [1 error] ERROR in app.ts -./app.ts 4:0-1 +./app.ts [tsl] ERROR in app.ts(4,1)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js index e72c6046a..6f36dda05 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }), @@ -116,7 +116,7 @@ eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt index 4345c98ee..3e7bb3d93 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 5.43 KiB main [emitted] main + bundle.js 5.5 KiB main [emitted] main common/index.d.ts 42 bytes [emitted] common/index.js 128 bytes [emitted] common/tsconfig.tsbuildinfo 2.32 KiB [emitted] @@ -13,29 +13,29 @@ unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 182 bytes {main} [built] -[./lib/index.ts] 475 bytes {main} [built] [failed] [1 error] -[./utils/index.ts] 477 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 473 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 475 bytes {main} [built] [failed] [1 error] ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 ERROR in ./utils/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 4:14-32 -ERROR in lib/fileWithError.ts -[tsl] ERROR in lib/fileWithError.ts(2,5) +ERROR in lib\fileWithError.ts +[tsl] ERROR in lib\fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. -ERROR in indirectWithError/fileWithError.ts -[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) +ERROR in indirectWithError\fileWithError.ts +[tsl] ERROR in indirectWithError\fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js index f2224a5b7..e61e3b57e 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js @@ -117,7 +117,7 @@ eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt index 53ef7bfcb..c7ee65f49 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 5.11 KiB main [emitted] main + bundle.js 5.14 KiB main [emitted] main lib/fileWithError.d.ts 39 bytes [emitted] lib/fileWithError.js 127 bytes [emitted] lib/index.d.ts 84 bytes [emitted] @@ -8,16 +8,16 @@ lib/tsconfig.tsbuildinfo 2.59 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 182 bytes {main} [built] [./lib/index.ts] 119 bytes {main} [built] -[./utils/index.ts] 477 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 475 bytes {main} [built] [failed] [1 error] ERROR in ./utils/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 4:14-32 -ERROR in indirectWithError/fileWithError.ts -[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) +ERROR in indirectWithError\fileWithError.ts +[tsl] ERROR in indirectWithError\fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt index b6724dc76..db891504a 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt @@ -7,6 +7,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [./utils/index.ts] 169 bytes {main} -ERROR in unreferencedIndirect/index.ts -[tsl] ERROR in unreferencedIndirect/index.ts(2,3) +ERROR in unreferencedIndirect\index.ts +[tsl] ERROR in unreferencedIndirect\index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt index e35154d19..e89a43615 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt @@ -7,6 +7,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [./utils/index.ts] 169 bytes {main} -ERROR in unreferenced/index.ts -[tsl] ERROR in unreferenced/index.ts(2,3) +ERROR in unreferenced\index.ts +[tsl] ERROR in unreferenced\index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js index fd4f00580..102ac7e1a 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }), @@ -116,7 +116,7 @@ eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple.transpile//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt index b37ac0724..850835c36 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 5.49 KiB main [emitted] main + bundle.js 5.55 KiB main [emitted] main common/index.d.ts 42 bytes [emitted] common/index.js 128 bytes [emitted] common/tsconfig.tsbuildinfo 2.32 KiB [emitted] @@ -13,27 +13,27 @@ unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 218 bytes {main} [built] [2 errors] -[./lib/index.ts] 485 bytes {main} [built] [failed] [1 error] -[./utils/index.ts] 487 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 483 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 485 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in indirectWithError/fileWithError.ts(2,5) +ERROR in [tsl] ERROR in indirectWithError\fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. -ERROR in [tsl] ERROR in lib/fileWithError.ts(2,5) +ERROR in [tsl] ERROR in lib\fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 ERROR in ./utils/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 4:14-32 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js index 97cec6b4f..209ea22fc 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js @@ -117,7 +117,7 @@ eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple.transpile//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt index d1a5de7c5..0b04e5b44 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 5.15 KiB main [emitted] main + bundle.js 5.19 KiB main [emitted] main lib/fileWithError.d.ts 39 bytes [emitted] lib/fileWithError.js 127 bytes [emitted] lib/index.d.ts 84 bytes [emitted] @@ -8,15 +8,15 @@ lib/tsconfig.tsbuildinfo 2.59 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 218 bytes {main} [built] [1 error] [./lib/index.ts] 119 bytes {main} [built] -[./utils/index.ts] 487 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 485 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in indirectWithError/fileWithError.ts(2,5) +ERROR in [tsl] ERROR in indirectWithError\fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. ERROR in ./utils/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 4:14-32 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt index 0afd355bc..68dda2165 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt @@ -7,5 +7,5 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [./utils/index.ts] 169 bytes {main} -ERROR in [tsl] ERROR in unreferencedIndirect/index.ts(2,3) +ERROR in [tsl] ERROR in unreferencedIndirect\index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt index c05b76041..5f1d68662 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt @@ -7,5 +7,5 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [./utils/index.ts] 169 bytes {main} -ERROR in [tsl] ERROR in unreferenced/index.ts(2,3) +ERROR in [tsl] ERROR in unreferenced\index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt index 476620833..fb3ae29f8 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt @@ -7,7 +7,7 @@ Entrypoint main = bundle.js [../utils/index.ts] 249 bytes {main} [built] [./app.ts] 202 bytes {main} [built] -ERROR in common/index.ts -../common/index.ts 2:2-12 -[tsl] ERROR in common/index.ts(2,3) +ERROR in common\index.ts +../common/index.ts +[tsl] ERROR in common\index.ts(2,3)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt index e43aa5737..f9a2e3203 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt @@ -7,7 +7,7 @@ Entrypoint main = bundle.js [../utils/index.ts] 249 bytes {main} [built] [1 error] [./app.ts] 202 bytes {main} [built] -ERROR in utils/index.ts -../utils/index.ts 5:35-50 -[tsl] ERROR in utils/index.ts(5,36) +ERROR in utils\index.ts +../utils/index.ts +[tsl] ERROR in utils\index.ts(5,36)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt index 0eeca0869..21020ebbd 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt @@ -7,5 +7,5 @@ Entrypoint main = bundle.js [../utils/index.ts] 249 bytes {main} [built] [./app.ts] 238 bytes {main} [built] [1 error] -ERROR in [tsl] ERROR in common/index.ts(2,3) +ERROR in [tsl] ERROR in common\index.ts(2,3)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt index 3b91ec112..8a1487699 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt @@ -7,5 +7,5 @@ Entrypoint main = bundle.js [../utils/index.ts] 249 bytes {main} [built] [./app.ts] 238 bytes {main} [built] [1 error] -ERROR in [tsl] ERROR in utils/index.ts(5,36) +ERROR in [tsl] ERROR in utils\index.ts(5,36)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt index a599e9eaa..67bf67e8a 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt @@ -9,6 +9,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts 3:45-49 +./app.ts [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt index 45a0fb029..7d6aa5942 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -11,6 +11,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts 3:45-49 +./app.ts [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt index a599e9eaa..67bf67e8a 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt @@ -9,6 +9,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts 3:45-49 +./app.ts [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js index 738d26493..7ef73d560 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt index a3e0228f2..b320af51c 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt @@ -1,19 +1,19 @@ Asset Size Chunks Chunk Names - bundle.js 4.65 KiB main [emitted] main + bundle.js 4.68 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 500 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 498 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib/index.ts -./lib/index.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js index 08e9b5b77..3399289f4 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt index ec4d53142..086d14c21 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt @@ -1,17 +1,17 @@ Asset Size Chunks Chunk Names - bundle.js 4.7 KiB main [emitted] main + bundle.js 4.73 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 508 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib/index.ts(6,7) +ERROR in [tsl] ERROR in lib\index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js index 632fd379b..987fc0d27 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt index d38f63610..e86973a1e 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -1,21 +1,21 @@ Asset Size Chunks Chunk Names app.d.ts 11 bytes [emitted] - bundle.js 4.67 KiB main [emitted] main + bundle.js 4.7 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] tsconfig.tsbuildinfo 1.36 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 519 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 517 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib/index.ts -./lib/index.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js index b2fb52c13..a385b36f3 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt index 5febe8f36..a0c353c77 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -1,17 +1,17 @@ Asset Size Chunks Chunk Names - bundle.js 4.72 KiB main [emitted] main + bundle.js 4.75 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 529 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 527 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib/index.ts(6,7) +ERROR in [tsl] ERROR in lib\index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js index 80364d3a0..77a050da3 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt index 3537c6c2d..cec09933f 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt @@ -1,19 +1,19 @@ Asset Size Chunks Chunk Names - bundle.js 4.66 KiB main [emitted] main + bundle.js 4.69 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 509 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 507 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib/index.ts -./lib/index.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js index 2be59ba57..8f6f6231a 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt index 9df2cc83f..9409192c9 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -1,17 +1,17 @@ Asset Size Chunks Chunk Names - bundle.js 4.71 KiB main [emitted] main + bundle.js 4.74 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 519 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 517 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib/index.ts(6,7) +ERROR in [tsl] ERROR in lib\index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js index 711e9930c..efa7458a2 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt index c0a20cfc7..36afe3136 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt @@ -1,18 +1,18 @@ Asset Size Chunks Chunk Names -bundle.js 4.65 KiB main [emitted] main +bundle.js 4.68 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 498 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 496 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib/index.ts -./lib/index.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js index 0a52c894d..be0c0a7f3 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt index aad5b9eaf..f2a87ebc7 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt @@ -1,16 +1,16 @@ - Asset Size Chunks Chunk Names -bundle.js 4.7 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 4.73 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 508 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 506 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib/index.ts(4,12) +ERROR in [tsl] ERROR in lib\index.ts(4,12)  TS1136: Property assignment expected. ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js index 583a3d7e0..d68be527e 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt index d457d4f0d..3bcc34afa 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -1,20 +1,20 @@ Asset Size Chunks Chunk Names app.d.ts 11 bytes [emitted] - bundle.js 4.67 KiB main [emitted] main + bundle.js 4.7 KiB main [emitted] main tsconfig.tsbuildinfo 1.36 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 517 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 515 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib/index.ts -./lib/index.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js index b40828139..27a318a22 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt index 7675787ac..80e7af3c4 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -1,16 +1,16 @@ Asset Size Chunks Chunk Names -bundle.js 4.71 KiB main [emitted] main +bundle.js 4.75 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 527 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 525 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib/index.ts(4,12) +ERROR in [tsl] ERROR in lib\index.ts(4,12)  TS1136: Property assignment expected. ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js index bdc99977b..3b3aaf652 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt index 56edf71ed..cc7a61db9 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt @@ -1,18 +1,18 @@ Asset Size Chunks Chunk Names -bundle.js 4.66 KiB main [emitted] main +bundle.js 4.69 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 507 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 505 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib/index.ts -./lib/index.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js index ebf164835..ab603c90c 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt index fb4278309..97bb45e10 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -1,16 +1,16 @@ Asset Size Chunks Chunk Names -bundle.js 4.71 KiB main [emitted] main +bundle.js 4.74 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 517 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 515 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib/index.ts(4,12) +ERROR in [tsl] ERROR in lib\index.ts(4,12)  TS1136: Property assignment expected. ERROR in ./lib/index.ts -Module build failed (from index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:53:18) - at successLoader (dist/index.js:40:5) - at Object.loader (dist/index.js:23:5) +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:53:18) + at successLoader (dist\index.js:40:5) + at Object.loader (dist\index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt index fd9c15542..13cd750b8 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt @@ -4,10 +4,10 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/out/index.js] 183 bytes {main} -ERROR in lib/index.ts -[tsl] ERROR in lib/index.ts(6,3) +ERROR in lib\index.ts +[tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib/index.ts -[tsl] ERROR in lib/index.ts(7,1) +ERROR in lib\index.ts +[tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt index 6797170be..2d914655a 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/out/index.js] 178 bytes {main} [built] ERROR in app.ts -./app.ts 3:55-60 +./app.ts [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt index 99028a1de..6047a25dc 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/out/index.js] 183 bytes {main} -ERROR in [tsl] ERROR in lib/index.ts(6,3) +ERROR in [tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib/index.ts(7,1) +ERROR in [tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt index fd9c15542..13cd750b8 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt @@ -4,10 +4,10 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/out/index.js] 183 bytes {main} -ERROR in lib/index.ts -[tsl] ERROR in lib/index.ts(6,3) +ERROR in lib\index.ts +[tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib/index.ts -[tsl] ERROR in lib/index.ts(7,1) +ERROR in lib\index.ts +[tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt index 6797170be..2d914655a 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/out/index.js] 178 bytes {main} [built] ERROR in app.ts -./app.ts 3:55-60 +./app.ts [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt index 99028a1de..6047a25dc 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/out/index.js] 183 bytes {main} -ERROR in [tsl] ERROR in lib/index.ts(6,3) +ERROR in [tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib/index.ts(7,1) +ERROR in [tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt index 70a63dbeb..ece889e0b 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names - ../../lib/dist/index.d.ts 54 bytes [emitted] - ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 4.98 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] @@ -9,9 +9,6 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app\src\index.ts -./src/index.ts 1:9-25 +./src/index.ts [tsl] ERROR in app\src\index.ts(1,10) - TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_d959ab86f3fcf84f - -webpack compiled with 1 error + TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index 916d2f0ec..5e73d0d59 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../common/dist/index.d.ts": { + "../../projectReferencesSymLinks/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../common/dist/index.d.ts" + "../../projectReferencesSymLinks/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ - "../common/dist/index.d.ts", "./src/index.ts", + "../../projectReferencesSymLinks/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt index c6b8c56bd..5e0364fe2 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.82 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index 00f7f1ad3..f381c7a6d 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../common/dist/index.d.ts": { + "../../projectReferencesSymLinks/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../common/dist/index.d.ts" + "../../projectReferencesSymLinks/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ - "../common/dist/index.d.ts", "./src/index.ts", + "../../projectReferencesSymLinks/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt index 81512575e..d745aba12 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.82 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt index c538b1de1..390ae5001 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt @@ -8,7 +8,7 @@ Entrypoint main = index.js [../lib/dist/index.js] 236 bytes {main} [built] [./src/index.ts] 108 bytes {main} [built] [1 error] -ERROR in app/src/index.ts -./src/index.ts 1:9-25 -[tsl] ERROR in app/src/index.ts(1,10) +ERROR in app\src\index.ts +./src/index.ts +[tsl] ERROR in app\src\index.ts(1,10)  TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index 06f810720..a9964ebfb 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../node_modules/common/dist/index.d.ts": { + "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -50,13 +50,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../node_modules/common/dist/index.d.ts" + "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "./src/index.ts", - "../node_modules/common/dist/index.d.ts", + "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt index ec4613cad..2df8856c2 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.91 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index 3d82dcc83..e80433947 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../node_modules/common/dist/index.d.ts": { + "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -50,13 +50,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../node_modules/common/dist/index.d.ts" + "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "./src/index.ts", - "../node_modules/common/dist/index.d.ts", + "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt index d0c3c585d..f691bb0a8 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.91 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt index c538b1de1..390ae5001 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -8,7 +8,7 @@ Entrypoint main = index.js [../lib/dist/index.js] 236 bytes {main} [built] [./src/index.ts] 108 bytes {main} [built] [1 error] -ERROR in app/src/index.ts -./src/index.ts 1:9-25 -[tsl] ERROR in app/src/index.ts(1,10) +ERROR in app\src\index.ts +./src/index.ts +[tsl] ERROR in app\src\index.ts(1,10)  TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index 06f810720..b56b4345e 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../node_modules/common/dist/index.d.ts": { + "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -50,13 +50,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../node_modules/common/dist/index.d.ts" + "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "./src/index.ts", - "../node_modules/common/dist/index.d.ts", + "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt index ec4613cad..c734ddeee 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.94 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index 3d82dcc83..031c41dde 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../node_modules/common/dist/index.d.ts": { + "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -50,13 +50,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../node_modules/common/dist/index.d.ts" + "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "./src/index.ts", - "../node_modules/common/dist/index.d.ts", + "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt index d0c3c585d..dcf74c2fc 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.94 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt index 835660b4d..ece889e0b 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names - ../../lib/dist/index.d.ts 54 bytes [emitted] - ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 4.98 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] @@ -9,9 +9,6 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app\src\index.ts -./src/index.ts 1:9-25 +./src/index.ts [tsl] ERROR in app\src\index.ts(1,10) - TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_ad9bee6dd825c8a5 - -webpack compiled with 1 error + TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index 916d2f0ec..06558c2b2 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../common/dist/index.d.ts": { + "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../common/dist/index.d.ts" + "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ - "../common/dist/index.d.ts", "./src/index.ts", + "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt index c6b8c56bd..898c0f2b6 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.85 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index 00f7f1ad3..b8f010981 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../common/dist/index.d.ts": { + "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../common/dist/index.d.ts" + "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ - "../common/dist/index.d.ts", "./src/index.ts", + "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt index 81512575e..de071393c 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.85 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt index 469ab45a1..2579cbf56 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt @@ -4,12 +4,12 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/index.ts] 150 bytes {main} [built] [2 errors] -ERROR in lib/index.ts -./lib/index.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib/index.ts -./lib/index.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt index 47da79ac4..e5095f9ca 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts 3:55-60 +./app.ts [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt index 978b955fa..6b7869bd6 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib/index.ts(6,3) +ERROR in [tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib/index.ts(7,1) +ERROR in [tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt index ba040527a..a08db3389 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -5,12 +5,12 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/index.ts] 150 bytes {main} [built] [2 errors] -ERROR in lib/index.ts -./lib/index.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib/index.ts -./lib/index.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt index 785c12da5..5367b0c7d 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt @@ -7,6 +7,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts 3:55-60 +./app.ts [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt index 978b955fa..6b7869bd6 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib/index.ts(6,3) +ERROR in [tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib/index.ts(7,1) +ERROR in [tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt index 469ab45a1..2579cbf56 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -4,12 +4,12 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/index.ts] 150 bytes {main} [built] [2 errors] -ERROR in lib/index.ts -./lib/index.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib/index.ts -./lib/index.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt index 47da79ac4..e5095f9ca 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts 3:55-60 +./app.ts [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt index 978b955fa..6b7869bd6 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib/index.ts(6,3) +ERROR in [tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib/index.ts(7,1) +ERROR in [tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt b/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt index 3214b5189..5211bb195 100644 --- a/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./skip.ts] 79 bytes {main} [built] ERROR in app.ts -./app.ts 3:0-1 +./app.ts [tsl] ERROR in app.ts(3,1)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt index 74cae6627..822838de7 100644 --- a/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt @@ -3,7 +3,7 @@ bundle.js 1.02 KiB 0 [emitted] main Entrypoint main = bundle.js [0] ./app.ts 99 bytes {0} [built] -[1] ./file.json 18 bytes {0} [built] +[1] ./file.json 20 bytes {0} [built] WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt index 5b907a54c..4cd55e00b 100644 --- a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt @@ -2,7 +2,7 @@ bundle.js 1.05 KiB 0 [emitted] main Entrypoint main = bundle.js [0] ./app.ts 135 bytes {0} [built] -[1] ./file.json 18 bytes {0} [built] +[1] ./file.json 20 bytes {0} [built] WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt index 584de80f1..0f981418b 100644 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./dep.ts] 70 bytes {main} [built] ERROR in app.ts -./app.ts 3:4-6 +./app.ts [tsl] ERROR in app.ts(3,5)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js index a7bc5cf47..c4482db84 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt index a753c24fe..36e0370f0 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names -bundle.js 3.94 KiB main [emitted] main +bundle.js 3.95 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 206 bytes {main} [built] [failed] [3 errors] +[./app.ts] 202 bytes {main} [built] [failed] [3 errors] ERROR in tsconfig.json [tsl] ERROR @@ -12,6 +12,6 @@ ERROR in tsconfig.json  TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'esnext'. ERROR in ./app.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: error while parsing tsconfig.json - at Object.loader (dist/index.js:18:18) \ No newline at end of file + at Object.loader (dist\index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js index a7bc5cf47..c4482db84 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt index a753c24fe..36e0370f0 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names -bundle.js 3.94 KiB main [emitted] main +bundle.js 3.95 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 206 bytes {main} [built] [failed] [3 errors] +[./app.ts] 202 bytes {main} [built] [failed] [3 errors] ERROR in tsconfig.json [tsl] ERROR @@ -12,6 +12,6 @@ ERROR in tsconfig.json  TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'esnext'. ERROR in ./app.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: error while parsing tsconfig.json - at Object.loader (dist/index.js:18:18) \ No newline at end of file + at Object.loader (dist\index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js index 8b151021a..a2dd31a05 100644 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://code//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt index dacba15c0..4433328ff 100644 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt @@ -1,9 +1,9 @@ Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main +bundle.js 4.06 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 309 bytes {main} [built] [failed] [1 error] +[./app.ts] 306 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist/index.js:18:18) \ No newline at end of file + at Object.loader (dist\index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js index afda5ae2f..00acf95f2 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36m/tsconfigNotReadable/tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: Debug Failure. Expected C:/code/ts-loader/.test/tsconfigNotReadable/tsconfig.json === C://code//ts-loader//.test//tsconfigNotReadable//tsconfig.json. /n at attachFileToDiagnostic (C://code//ts-loader//node_modules//typescript//lib//typescript.js:18645:18)/n at Object.attachFileToDiagnostics (C://code//ts-loader//node_modules//typescript//lib//typescript.js:18677:42)/n at Object.parseJsonText (C://code//ts-loader//node_modules//typescript//lib//typescript.js:28704:46)/n at Object.parseJsonText (C://code//ts-loader//node_modules//typescript//lib//typescript.js:28450:23)/n at parseConfigFileTextToJson (C://code//ts-loader//node_modules//typescript//lib//typescript.js:37181:33)/n at Object.readConfigFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:37172:48)/n at Object.getConfigFile (C://code//ts-loader//dist//config.js:18:31)/n at successfulTypeScriptInstance (C://code//ts-loader//dist//instances.js:74:40)/n at Object.getTypeScriptInstance (C://code//ts-loader//dist//instances.js:42:12)/n at Object.loader (C://code//ts-loader//dist//index.js:16:41)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt index cf5a33d81..f36eb662e 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt @@ -1,11 +1,18 @@ Asset Size Chunks Chunk Names -bundle.js 4.29 KiB main [emitted] main +bundle.js 5.03 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 542 bytes {main} [built] [failed] [1 error] +[./app.ts] 1.17 KiB {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist/index.js:18:18) \ No newline at end of file +Module build failed (from /index.js): +Error: Debug Failure. Expected /.test/tsconfigNotReadable/tsconfig.json === tsconfig.json. + at attachFileToDiagnostic (node_modules\typescript\lib\typescript.js:18645:18) + at Object.attachFileToDiagnostics (node_modules\typescript\lib\typescript.js:18677:42) + at Object.parseJsonText (node_modules\typescript\lib\typescript.js:28704:46) + at Object.parseJsonText (node_modules\typescript\lib\typescript.js:28450:23) + at parseConfigFileTextToJson (node_modules\typescript\lib\typescript.js:37181:33) + at Object.readConfigFile (node_modules\typescript\lib\typescript.js:37172:48) + at Object.getConfigFile (dist\config.js:18:31) + at successfulTypeScriptInstance (dist\instances.js:74:40) + at Object.getTypeScriptInstance (dist\instances.js:42:12) + at Object.loader (dist\index.js:16:41) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js index f4815d27a..e867993bb 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36m/tsconfigNotReadable.transpile/tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: Debug Failure. Expected C:/code/ts-loader/.test/tsconfigNotReadable.transpile/tsconfig.json === C://code//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json. /n at attachFileToDiagnostic (C://code//ts-loader//node_modules//typescript//lib//typescript.js:18645:18)/n at Object.attachFileToDiagnostics (C://code//ts-loader//node_modules//typescript//lib//typescript.js:18677:42)/n at Object.parseJsonText (C://code//ts-loader//node_modules//typescript//lib//typescript.js:28704:46)/n at Object.parseJsonText (C://code//ts-loader//node_modules//typescript//lib//typescript.js:28450:23)/n at parseConfigFileTextToJson (C://code//ts-loader//node_modules//typescript//lib//typescript.js:37181:33)/n at Object.readConfigFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:37172:48)/n at Object.getConfigFile (C://code//ts-loader//dist//config.js:18:31)/n at successfulTypeScriptInstance (C://code//ts-loader//dist//instances.js:74:40)/n at Object.getTypeScriptInstance (C://code//ts-loader//dist//instances.js:42:12)/n at Object.loader (C://code//ts-loader//dist//index.js:16:41)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt index 565d4a92d..1b84c10fb 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt @@ -1,11 +1,18 @@ - Asset Size Chunks Chunk Names -bundle.js 4.3 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 5.05 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 552 bytes {main} [built] [failed] [1 error] +[./app.ts] 1.19 KiB {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist/index.js:18:18) \ No newline at end of file +Module build failed (from /index.js): +Error: Debug Failure. Expected /.test/tsconfigNotReadable/tsconfig.json === tsconfig.json. + at attachFileToDiagnostic (node_modules\typescript\lib\typescript.js:18645:18) + at Object.attachFileToDiagnostics (node_modules\typescript\lib\typescript.js:18677:42) + at Object.parseJsonText (node_modules\typescript\lib\typescript.js:28704:46) + at Object.parseJsonText (node_modules\typescript\lib\typescript.js:28450:23) + at parseConfigFileTextToJson (node_modules\typescript\lib\typescript.js:37181:33) + at Object.readConfigFile (node_modules\typescript\lib\typescript.js:37172:48) + at Object.getConfigFile (dist\config.js:18:31) + at successfulTypeScriptInstance (dist\instances.js:74:40) + at Object.getTypeScriptInstance (dist\instances.js:42:12) + at Object.loader (dist\index.js:16:41) \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt index f2675eeee..3de8aa6e6 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 212 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts 11:4-5 +./app.ts [tsl] ERROR in app.ts(11,5)  TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'. \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js index 911e3ac4c..5a4006d19 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:146:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:103:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (C://code//ts-loader//dist//index.js:146:19)/n at getLoaderOptions (C://code//ts-loader//dist//index.js:103:5)/n at Object.loader (C://code//ts-loader//dist//index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt index 615479d64..1aa5d08d4 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt @@ -1,15 +1,15 @@ Asset Size Chunks Chunk Names -bundle.js 4.63 KiB main [emitted] main +bundle.js 4.65 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] [failed] [1 error] +[./app.ts] 907 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: ts-loader was supplied with an unexpected loader option: notRealOption Please take a look at the options you are supplying; the following are valid options: silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames - at validateLoaderOptions (dist/index.js:146:19) - at getLoaderOptions (dist/index.js:103:5) - at Object.loader (dist/index.js:15:21) \ No newline at end of file + at validateLoaderOptions (dist\index.js:146:19) + at getLoaderOptions (dist\index.js:103:5) + at Object.loader (dist\index.js:15:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js index 911e3ac4c..5a4006d19 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:146:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:103:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (C://code//ts-loader//dist//index.js:146:19)/n at getLoaderOptions (C://code//ts-loader//dist//index.js:103:5)/n at Object.loader (C://code//ts-loader//dist//index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt index 615479d64..1aa5d08d4 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt @@ -1,15 +1,15 @@ Asset Size Chunks Chunk Names -bundle.js 4.63 KiB main [emitted] main +bundle.js 4.65 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] [failed] [1 error] +[./app.ts] 907 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: ts-loader was supplied with an unexpected loader option: notRealOption Please take a look at the options you are supplying; the following are valid options: silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames - at validateLoaderOptions (dist/index.js:146:19) - at getLoaderOptions (dist/index.js:103:5) - at Object.loader (dist/index.js:15:21) \ No newline at end of file + at validateLoaderOptions (dist\index.js:146:19) + at getLoaderOptions (dist\index.js:103:5) + at Object.loader (dist\index.js:15:21) \ No newline at end of file From e7fecd04885f167d4da6875bd1ee15abc2c0d488 Mon Sep 17 00:00:00 2001 From: Jason Kleban Date: Thu, 22 Apr 2021 13:21:16 -0400 Subject: [PATCH 3/6] Revert "regen comparison tests" This reverts commit f04c5cf001817bf60de0dd989f9ab929efdf77ea. --- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 6 ++-- .../expectedOutput-4.1/bundle.js | 29 +++++++++++++-- .../expectedOutput-4.1/output.txt | 35 +++---------------- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../colors/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 4 +-- .../expectedOutput-4.1/output.txt | 4 +-- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 4 +-- .../errors/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../es3/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch1/output.txt | 2 +- .../instance/expectedOutput-4.1/bundle.js | 2 +- .../instance/expectedOutput-4.1/output.txt | 16 ++++----- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 14 ++++---- .../issue441/expectedOutput-4.1/bundle.js | 2 +- .../issue441/expectedOutput-4.1/output.txt | 4 +-- .../expectedOutput-4.1/patch0/bundle.js | 2 +- .../expectedOutput-4.1/patch0/output.txt | 4 +-- .../expectedOutput-4.1/patch1/bundle.js | 2 +- .../expectedOutput-4.1/patch1/output.txt | 4 +-- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 4 +-- .../patch0/bundle.js | 2 +- .../patch0/output.txt | 4 +-- .../patch1/bundle.js | 2 +- .../patch1/output.txt | 4 +-- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 14 ++++---- .../nolib/expectedOutput-4.1/output.txt | 2 +- .../npmLink/expectedOutput-4.1/bundle.js | 8 ++--- .../npmLink/expectedOutput-4.1/output.txt | 4 +-- .../expectedOutput-transpile-4.1/bundle.js | 8 ++--- .../expectedOutput-transpile-4.1/output.txt | 6 ++-- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../production/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/bundle.js | 4 +-- .../expectedOutput-4.1/output.txt | 34 +++++++++--------- .../expectedOutput-4.1/patch0/bundle.js | 2 +- .../expectedOutput-4.1/patch0/output.txt | 18 +++++----- .../expectedOutput-4.1/patch3/output.txt | 4 +-- .../expectedOutput-4.1/patch5/output.txt | 4 +-- .../expectedOutput-transpile-4.1/bundle.js | 4 +-- .../expectedOutput-transpile-4.1/output.txt | 30 ++++++++-------- .../patch0/bundle.js | 2 +- .../patch0/output.txt | 16 ++++----- .../patch3/output.txt | 2 +- .../patch5/output.txt | 2 +- .../expectedOutput-4.1/patch3/output.txt | 6 ++-- .../expectedOutput-4.1/patch5/output.txt | 6 ++-- .../patch3/output.txt | 2 +- .../patch5/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 18 +++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 20 +++++------ .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 16 ++++----- .../expectedOutput-4.1/patch2/output.txt | 8 ++--- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../expectedOutput-4.1/patch2/output.txt | 8 ++--- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../expectedOutput-4.1/patch0/output.txt | 13 ++++--- .../lib/tsconfig.tsbuildinfo | 6 ++-- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 ++-- .../patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 6 ++-- .../lib/tsconfig.tsbuildinfo | 6 ++-- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 ++-- .../patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 6 ++-- .../lib/tsconfig.tsbuildinfo | 6 ++-- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 ++-- .../patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 13 ++++--- .../lib/tsconfig.tsbuildinfo | 6 ++-- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 ++-- .../patch0/output.txt | 2 +- .../expectedOutput-4.1/patch2/output.txt | 12 +++---- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../expectedOutput-4.1/patch2/output.txt | 12 +++---- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../expectedOutput-4.1/patch2/output.txt | 12 +++---- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +-- .../reportFiles/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 8 ++--- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 8 ++--- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 8 ++--- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 21 ++++------- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 23 +++++------- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/bundle.js | 2 +- .../expectedOutput-4.1/output.txt | 12 +++---- .../expectedOutput-transpile-4.1/bundle.js | 2 +- .../expectedOutput-transpile-4.1/output.txt | 12 +++---- 140 files changed, 450 insertions(+), 460 deletions(-) diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt index c0da8c1a3..718fff194 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 46 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 2:30-55 [tsl] ERROR in app.ts(2,31)  TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt index bf0ca3fd3..7c081f883 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 45 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 2:30-55 [tsl] ERROR in app.ts(2,31)  TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt index cf265487e..c65bff5ac 100644 --- a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt @@ -5,7 +5,7 @@ Entrypoint main = bundle.js [./src/error2.js] 303 bytes {main} [built] [1 error] [./src/index.js] 207 bytes {main} [built] -ERROR in src\error2.js -./src/error2.js -[tsl] ERROR in src\error2.js(4,10) +ERROR in src/error2.js +./src/error2.js 4:9-12 +[tsl] ERROR in src/error2.js(4,10)  TS2339: Property 'bar' does not exist on type 'Class2'. \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js index a9a0bfdb9..9b5d280a3 100644 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js @@ -86,14 +86,39 @@ /************************************************************************/ /******/ ({ +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./helper.ts": +/*!*******************!*\ + !*** ./helper.ts ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); + +/***/ }), + /***/ "./index.vue": /*!*******************!*\ !*** ./index.vue ***! \*******************/ /*! no static exports found */ -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: ENOENT: no such file or directory, lstat 'C://code//ts-loader//.test//appendSuffixTo//index.vue.ts'/n at Object.realpathSync (fs.js:1681:7)/n at resolveModule (C://code//ts-loader//dist//servicesHost.js:678:58)/n at C://code//ts-loader//dist//servicesHost.js:132:13/n at Array.map ()/n at Object.resolveModuleNames (C://code//ts-loader//dist//servicesHost.js:130:65)/n at actualResolveModuleNamesWorker (C://code//ts-loader//node_modules//typescript//lib//typescript.js:105296:133)/n at resolveModuleNamesWorker (C://code//ts-loader//node_modules//typescript//lib//typescript.js:105534:26)/n at resolveModuleNamesReusingOldState (C://code//ts-loader//node_modules//typescript//lib//typescript.js:105648:24)/n at processImportedModules (C://code//ts-loader//node_modules//typescript//lib//typescript.js:107135:35)/n at findSourceFileWorker (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106907:17)/n at findSourceFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106769:26)/n at C://code//ts-loader//node_modules//typescript//lib//typescript.js:106726:85/n at getSourceFileFromReferenceWorker (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106693:34)/n at processSourceFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106726:13)/n at processRootFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:106536:13)/n at C://code//ts-loader//node_modules//typescript//lib//typescript.js:105401:60/n at Object.forEach (C://code//ts-loader//node_modules//typescript//lib//typescript.js:382:30)/n at Object.createProgram (C://code//ts-loader//node_modules//typescript//lib//typescript.js:105401:16)/n at synchronizeHostData (C://code//ts-loader//node_modules//typescript//lib//typescript.js:147139:26)/n at Object.getProgram (C://code//ts-loader//node_modules//typescript//lib//typescript.js:147231:13)/n at Object.ensureProgram (C://code//ts-loader//dist//utils.js:193:41)/n at Object.getEmitOutput (C://code//ts-loader//dist//instances.js:491:29)/n at getEmit (C://code//ts-loader//dist//index.js:261:37)/n at successLoader (C://code//ts-loader//dist//index.js:39:11)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./index.vue?"); +"use strict"; +eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); /***/ }) diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt index f10ceae44..df193ab5e 100644 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt @@ -1,33 +1,6 @@ Asset Size Chunks Chunk Names -bundle.js 6.36 KiB main [emitted] main +bundle.js 5.03 KiB main [emitted] main Entrypoint main = bundle.js -[./index.vue] 2.34 KiB {main} [built] [failed] [1 error] - -ERROR in ./index.vue -Module build failed (from /index.js): -Error: ENOENT: no such file or directory, lstat 'index.vue.ts' - at Object.realpathSync (fs.js:1681:7) - at resolveModule (dist\servicesHost.js:678:58) - at dist\servicesHost.js:132:13 - at Array.map () - at Object.resolveModuleNames (dist\servicesHost.js:130:65) - at actualResolveModuleNamesWorker (node_modules\typescript\lib\typescript.js:105296:133) - at resolveModuleNamesWorker (node_modules\typescript\lib\typescript.js:105534:26) - at resolveModuleNamesReusingOldState (node_modules\typescript\lib\typescript.js:105648:24) - at processImportedModules (node_modules\typescript\lib\typescript.js:107135:35) - at findSourceFileWorker (node_modules\typescript\lib\typescript.js:106907:17) - at findSourceFile (node_modules\typescript\lib\typescript.js:106769:26) - at node_modules\typescript\lib\typescript.js:106726:85 - at getSourceFileFromReferenceWorker (node_modules\typescript\lib\typescript.js:106693:34) - at processSourceFile (node_modules\typescript\lib\typescript.js:106726:13) - at processRootFile (node_modules\typescript\lib\typescript.js:106536:13) - at node_modules\typescript\lib\typescript.js:105401:60 - at Object.forEach (node_modules\typescript\lib\typescript.js:382:30) - at Object.createProgram (node_modules\typescript\lib\typescript.js:105401:16) - at synchronizeHostData (node_modules\typescript\lib\typescript.js:147139:26) - at Object.getProgram (node_modules\typescript\lib\typescript.js:147231:13) - at Object.ensureProgram (dist\utils.js:193:41) - at Object.getEmitOutput (dist\instances.js:491:29) - at getEmit (dist\index.js:261:37) - at successLoader (dist\index.js:39:11) - at Object.loader (dist\index.js:23:5) \ No newline at end of file +[./component.vue] 154 bytes {main} [built] +[./helper.ts] 154 bytes {main} [built] +[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt index 9fac8da0d..a8db6db09 100644 --- a/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./submodule/submodule.ts] 149 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:12-24 [tsl] ERROR in app.ts(3,13)  TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.1/output.txt b/test/comparison-tests/colors/expectedOutput-4.1/output.txt index 117027d85..613a362fe 100644 --- a/test/comparison-tests/colors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/colors/expectedOutput-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts +./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7) TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt index 117027d85..613a362fe 100644 --- a/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts +./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7) TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt index 31af3d0b6..b8e99c377 100644 --- a/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 41 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 2:6-11 [tsl] ERROR in app.ts(2,7)  TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt index f818ddc7c..b6e14df72 100644 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt @@ -5,11 +5,11 @@ Entrypoint main = bundle.js [./dep.ts] 59 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 5:6-17 [tsl] ERROR in app.ts(5,7)  TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. ERROR in dep.ts -./dep.ts +./dep.ts 1:6-17 [tsl] ERROR in dep.ts(1,7)  TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt index 9bf366413..ca6be6cde 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt @@ -6,11 +6,11 @@ Entrypoint main = bundle.js [./dep2.ts] 76 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 4:5-7 [tsl] ERROR in app.ts(4,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. ERROR in app.ts -./app.ts +./app.ts 5:5-7 [tsl] ERROR in app.ts(5,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt index f4ea07b34..82b969098 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./dep2.ts] 76 bytes {main} ERROR in app.ts -./app.ts +./app.ts 5:5-7 [tsl] ERROR in app.ts(5,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt index 6c457bebd..d023ac4c6 100644 --- a/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt @@ -5,5 +5,5 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 46 bytes {main} [built] ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file +./app.ts 2:30-55 +Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-4.1/output.txt b/test/comparison-tests/errors/expectedOutput-4.1/output.txt index c48ec99d2..07aed0162 100644 --- a/test/comparison-tests/errors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/errors/expectedOutput-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts +./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7)  TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt index ffab7fca9..96bc80dea 100644 --- a/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ Entrypoint main = bundle.js [./app.ts] 220 bytes {main} [built] [failed] [2 errors] ERROR in app.ts -./app.ts +./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7)  TS1005: ',' expected. diff --git a/test/comparison-tests/es3/expectedOutput-4.1/output.txt b/test/comparison-tests/es3/expectedOutput-4.1/output.txt index 12a3418dd..fe96190e5 100644 --- a/test/comparison-tests/es3/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/es3/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 29 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 1:6-7 [tsl] ERROR in app.ts(1,7)  TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt index bcc531083..b42812bf2 100644 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 278 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 9:4-5 [tsl] ERROR in app.ts(9,5)  TS2322: Type 'string' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt index 5773b734b..3e3ae7492 100644 --- a/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt +++ b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 70 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 4:0-7 [tsl] ERROR in app.ts(4,1)  TS2322: Type 'string' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-4.1/bundle.js b/test/comparison-tests/instance/expectedOutput-4.1/bundle.js index b172f17bd..ca4accdbc 100644 --- a/test/comparison-tests/instance/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/instance/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://code//ts-loader//.test//instance//i-dont-exist/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); /***/ }) diff --git a/test/comparison-tests/instance/expectedOutput-4.1/output.txt b/test/comparison-tests/instance/expectedOutput-4.1/output.txt index 1167dfee7..09690c0b5 100644 --- a/test/comparison-tests/instance/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/instance/expectedOutput-4.1/output.txt @@ -1,19 +1,19 @@ - Asset Size Chunks Chunk Names -bundle.js 4.01 KiB a [emitted] a + Asset Size Chunks Chunk Names +bundle.js 4 KiB a [emitted] a Entrypoint a = bundle.js Entrypoint b = -[./a.ts] 273 bytes {a} [built] [failed] [1 error] -[./b.ts] 273 bytes {b} [built] [failed] [1 error] +[./a.ts] 276 bytes {a} [built] [failed] [1 error] +[./b.ts] 276 bytes {b} [built] [failed] [1 error] ERROR in ./a.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:18:18) + at Object.loader (dist/index.js:18:18) ERROR in ./b.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:18:18) + at Object.loader (dist/index.js:18:18) ERROR in chunk b [entry] bundle.js diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js index b337e3853..93b129d61 100644 --- a/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://code//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); /***/ }) diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt index 41b0bbbb8..1da55bdfe 100644 --- a/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt @@ -1,19 +1,19 @@ Asset Size Chunks Chunk Names -bundle.js 4.02 KiB a [emitted] a +bundle.js 4.01 KiB a [emitted] a Entrypoint a = bundle.js Entrypoint b = -[./a.ts] 283 bytes {a} [built] [failed] [1 error] -[./b.ts] 283 bytes {b} [built] [failed] [1 error] +[./a.ts] 286 bytes {a} [built] [failed] [1 error] +[./b.ts] 286 bytes {b} [built] [failed] [1 error] ERROR in ./a.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:18:18) + at Object.loader (dist/index.js:18:18) ERROR in ./b.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:18:18) + at Object.loader (dist/index.js:18:18) ERROR in chunk b [entry] bundle.js diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js index b04086bcd..93a3017f9 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/output.txt index d810f4517..41a3f8c48 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-4.1/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main +bundle.js 3.83 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js index b04086bcd..93a3017f9 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt index d810f4517..41a3f8c48 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main +bundle.js 3.83 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js index b04086bcd..93a3017f9 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt index d810f4517..41a3f8c48 100644 --- a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main +bundle.js 3.83 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js index b04086bcd..93a3017f9 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt index d810f4517..41a3f8c48 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main +bundle.js 3.83 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js index b04086bcd..93a3017f9 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt index d810f4517..41a3f8c48 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main +bundle.js 3.83 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js index b04086bcd..93a3017f9 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt index d810f4517..41a3f8c48 100644 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main +bundle.js 3.83 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js index e43628397..9d75ab1f4 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./nod /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); /***/ }) diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt index 125613a40..889006393 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt @@ -1,15 +1,15 @@ Asset Size Chunks Chunk Names -bundle.js 4.86 KiB main [emitted] main +bundle.js 4.82 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 658 bytes {main} [built] [failed] [1 error] +[./node_modules/a/index.ts] 659 bytes {main} [built] [failed] [1 error] ERROR in ./node_modules/a/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. +Module build failed (from index.js): +Error: TypeScript emitted no output for node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules. You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. See: https://github.com/Microsoft/TypeScript/issues/12358 - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-4.1/output.txt b/test/comparison-tests/nolib/expectedOutput-4.1/output.txt index 8c8e530d0..3dd528d24 100644 --- a/test/comparison-tests/nolib/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/nolib/expectedOutput-4.1/output.txt @@ -32,6 +32,6 @@ ERROR in tsconfig.json  TS2318: Cannot find global type 'RegExp'. ERROR in app.ts -./app.ts +./app.ts 1:0-8 [tsl] ERROR in app.ts(1,1)  TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js b/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js index 7d9bfaa7a..287c4a520 100644 --- a/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js @@ -87,14 +87,14 @@ /******/ ({ /***/ "../../test/comparison-tests/testLib/foo.ts": -/*!**************************************************************!*\ - !*** C:/code/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \**************************************************************/ +/*!******************************************************************!*\ + !*** /workspaces/ts-loader/test/comparison-tests/testLib/foo.ts ***! + \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/code/ts-loader/test/comparison-tests/testLib/foo.ts?"); +eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:////workspaces/ts-loader/test/comparison-tests/testLib/foo.ts?"); /***/ }), diff --git a/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt b/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt index be6f473d8..e139e212a 100644 --- a/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 4.44 KiB main [emitted] main +bundle.js 4.45 KiB main [emitted] main Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] +[../../test/comparison-tests/testLib/foo.ts] test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] [./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js index 2a1fbb710..dee869d56 100644 --- a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js @@ -87,14 +87,14 @@ /******/ ({ /***/ "../../test/comparison-tests/testLib/foo.ts": -/*!**************************************************************!*\ - !*** C:/code/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \**************************************************************/ +/*!******************************************************************!*\ + !*** /workspaces/ts-loader/test/comparison-tests/testLib/foo.ts ***! + \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'foo';\n\n\n//# sourceURL=webpack:///C:/code/ts-loader/test/comparison-tests/testLib/foo.ts?"); +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'foo';\n\n\n//# sourceURL=webpack:////workspaces/ts-loader/test/comparison-tests/testLib/foo.ts?"); /***/ }), diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt index 5971df720..875e3d2db 100644 --- a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 4.5 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 4.52 KiB main [emitted] main Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 102 bytes {main} [built] +[../../test/comparison-tests/testLib/foo.ts] test/comparison-tests/testLib/foo.ts 102 bytes {main} [built] [./app.ts] 137 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt index 9fac8da0d..a8db6db09 100644 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./submodule/submodule.ts] 149 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:12-24 [tsl] ERROR in app.ts(3,13)  TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-4.1/output.txt b/test/comparison-tests/production/expectedOutput-4.1/output.txt index 63923ad42..22ce36262 100644 --- a/test/comparison-tests/production/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/production/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [0] ./app.ts 27 bytes {0} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 4:0-1 [tsl] ERROR in app.ts(4,1)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js index 6f36dda05..e72c6046a 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }), @@ -116,7 +116,7 @@ eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/n /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt index 3e7bb3d93..4345c98ee 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 5.5 KiB main [emitted] main + bundle.js 5.43 KiB main [emitted] main common/index.d.ts 42 bytes [emitted] common/index.js 128 bytes [emitted] common/tsconfig.tsbuildinfo 2.32 KiB [emitted] @@ -13,29 +13,29 @@ unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 182 bytes {main} [built] -[./lib/index.ts] 473 bytes {main} [built] [failed] [1 error] -[./utils/index.ts] 475 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 475 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 477 bytes {main} [built] [failed] [1 error] ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 ERROR in ./utils/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 4:14-32 -ERROR in lib\fileWithError.ts -[tsl] ERROR in lib\fileWithError.ts(2,5) +ERROR in lib/fileWithError.ts +[tsl] ERROR in lib/fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. -ERROR in indirectWithError\fileWithError.ts -[tsl] ERROR in indirectWithError\fileWithError.ts(2,5) +ERROR in indirectWithError/fileWithError.ts +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js index e61e3b57e..f2224a5b7 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js @@ -117,7 +117,7 @@ eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt index c7ee65f49..53ef7bfcb 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main + bundle.js 5.11 KiB main [emitted] main lib/fileWithError.d.ts 39 bytes [emitted] lib/fileWithError.js 127 bytes [emitted] lib/index.d.ts 84 bytes [emitted] @@ -8,16 +8,16 @@ lib/tsconfig.tsbuildinfo 2.59 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 182 bytes {main} [built] [./lib/index.ts] 119 bytes {main} [built] -[./utils/index.ts] 475 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 477 bytes {main} [built] [failed] [1 error] ERROR in ./utils/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 4:14-32 -ERROR in indirectWithError\fileWithError.ts -[tsl] ERROR in indirectWithError\fileWithError.ts(2,5) +ERROR in indirectWithError/fileWithError.ts +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt index db891504a..b6724dc76 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt @@ -7,6 +7,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [./utils/index.ts] 169 bytes {main} -ERROR in unreferencedIndirect\index.ts -[tsl] ERROR in unreferencedIndirect\index.ts(2,3) +ERROR in unreferencedIndirect/index.ts +[tsl] ERROR in unreferencedIndirect/index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt index e89a43615..e35154d19 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt @@ -7,6 +7,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [./utils/index.ts] 169 bytes {main} -ERROR in unreferenced\index.ts -[tsl] ERROR in unreferenced\index.ts(2,3) +ERROR in unreferenced/index.ts +[tsl] ERROR in unreferenced/index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js index 102ac7e1a..fd4f00580 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }), @@ -116,7 +116,7 @@ eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/n /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple.transpile//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt index 850835c36..b37ac0724 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 5.55 KiB main [emitted] main + bundle.js 5.49 KiB main [emitted] main common/index.d.ts 42 bytes [emitted] common/index.js 128 bytes [emitted] common/tsconfig.tsbuildinfo 2.32 KiB [emitted] @@ -13,27 +13,27 @@ unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 218 bytes {main} [built] [2 errors] -[./lib/index.ts] 483 bytes {main} [built] [failed] [1 error] -[./utils/index.ts] 485 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 485 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 487 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in indirectWithError\fileWithError.ts(2,5) +ERROR in [tsl] ERROR in indirectWithError/fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. -ERROR in [tsl] ERROR in lib\fileWithError.ts(2,5) +ERROR in [tsl] ERROR in lib/fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 ERROR in ./utils/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 4:14-32 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js index 209ea22fc..97cec6b4f 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js @@ -117,7 +117,7 @@ eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesMultiple.transpile//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt index 0b04e5b44..d1a5de7c5 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 5.19 KiB main [emitted] main + bundle.js 5.15 KiB main [emitted] main lib/fileWithError.d.ts 39 bytes [emitted] lib/fileWithError.js 127 bytes [emitted] lib/index.d.ts 84 bytes [emitted] @@ -8,15 +8,15 @@ lib/tsconfig.tsbuildinfo 2.59 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 218 bytes {main} [built] [1 error] [./lib/index.ts] 119 bytes {main} [built] -[./utils/index.ts] 485 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 487 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in indirectWithError\fileWithError.ts(2,5) +ERROR in [tsl] ERROR in indirectWithError/fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. ERROR in ./utils/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 4:14-32 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt index 68dda2165..0afd355bc 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt @@ -7,5 +7,5 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [./utils/index.ts] 169 bytes {main} -ERROR in [tsl] ERROR in unreferencedIndirect\index.ts(2,3) +ERROR in [tsl] ERROR in unreferencedIndirect/index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt index 5f1d68662..c05b76041 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt @@ -7,5 +7,5 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [./utils/index.ts] 169 bytes {main} -ERROR in [tsl] ERROR in unreferenced\index.ts(2,3) +ERROR in [tsl] ERROR in unreferenced/index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt index fb3ae29f8..476620833 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt @@ -7,7 +7,7 @@ Entrypoint main = bundle.js [../utils/index.ts] 249 bytes {main} [built] [./app.ts] 202 bytes {main} [built] -ERROR in common\index.ts -../common/index.ts -[tsl] ERROR in common\index.ts(2,3) +ERROR in common/index.ts +../common/index.ts 2:2-12 +[tsl] ERROR in common/index.ts(2,3)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt index f9a2e3203..e43aa5737 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt @@ -7,7 +7,7 @@ Entrypoint main = bundle.js [../utils/index.ts] 249 bytes {main} [built] [1 error] [./app.ts] 202 bytes {main} [built] -ERROR in utils\index.ts -../utils/index.ts -[tsl] ERROR in utils\index.ts(5,36) +ERROR in utils/index.ts +../utils/index.ts 5:35-50 +[tsl] ERROR in utils/index.ts(5,36)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt index 21020ebbd..0eeca0869 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt @@ -7,5 +7,5 @@ Entrypoint main = bundle.js [../utils/index.ts] 249 bytes {main} [built] [./app.ts] 238 bytes {main} [built] [1 error] -ERROR in [tsl] ERROR in common\index.ts(2,3) +ERROR in [tsl] ERROR in common/index.ts(2,3)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt index 8a1487699..3b91ec112 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt @@ -7,5 +7,5 @@ Entrypoint main = bundle.js [../utils/index.ts] 249 bytes {main} [built] [./app.ts] 238 bytes {main} [built] [1 error] -ERROR in [tsl] ERROR in utils\index.ts(5,36) +ERROR in [tsl] ERROR in utils/index.ts(5,36)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt index 67bf67e8a..a599e9eaa 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt @@ -9,6 +9,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt index 7d6aa5942..45a0fb029 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -11,6 +11,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt index 67bf67e8a..a599e9eaa 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt @@ -9,6 +9,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js index 7ef73d560..738d26493 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt index b320af51c..a3e0228f2 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt @@ -1,19 +1,19 @@ Asset Size Chunks Chunk Names - bundle.js 4.68 KiB main [emitted] main + bundle.js 4.65 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 498 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 500 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(6,7) +ERROR in lib/index.ts +./lib/index.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js index 3399289f4..08e9b5b77 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt index 086d14c21..ec4d53142 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt @@ -1,17 +1,17 @@ Asset Size Chunks Chunk Names - bundle.js 4.73 KiB main [emitted] main + bundle.js 4.7 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 508 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib\index.ts(6,7) +ERROR in [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js index 987fc0d27..632fd379b 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt index e86973a1e..d38f63610 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -1,21 +1,21 @@ Asset Size Chunks Chunk Names app.d.ts 11 bytes [emitted] - bundle.js 4.7 KiB main [emitted] main + bundle.js 4.67 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] tsconfig.tsbuildinfo 1.36 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 517 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 519 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(6,7) +ERROR in lib/index.ts +./lib/index.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js index a385b36f3..b2fb52c13 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt index a0c353c77..5febe8f36 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -1,17 +1,17 @@ Asset Size Chunks Chunk Names - bundle.js 4.75 KiB main [emitted] main + bundle.js 4.72 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 527 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 529 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib\index.ts(6,7) +ERROR in [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js index 77a050da3..80364d3a0 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt index cec09933f..3537c6c2d 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt @@ -1,19 +1,19 @@ Asset Size Chunks Chunk Names - bundle.js 4.69 KiB main [emitted] main + bundle.js 4.66 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 507 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 509 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(6,7) +ERROR in lib/index.ts +./lib/index.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js index 8f6f6231a..2be59ba57 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt index 9409192c9..9df2cc83f 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -1,17 +1,17 @@ Asset Size Chunks Chunk Names - bundle.js 4.74 KiB main [emitted] main + bundle.js 4.71 KiB main [emitted] main lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 517 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 519 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib\index.ts(6,7) +ERROR in [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js index efa7458a2..711e9930c 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt index 36afe3136..c0a20cfc7 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt @@ -1,18 +1,18 @@ Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main +bundle.js 4.65 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 496 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 498 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(4,12) +ERROR in lib/index.ts +./lib/index.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js index be0c0a7f3..0a52c894d 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt index f2a87ebc7..aad5b9eaf 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt @@ -1,16 +1,16 @@ - Asset Size Chunks Chunk Names -bundle.js 4.73 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 4.7 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 506 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 508 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib\index.ts(4,12) +ERROR in [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js index d68be527e..583a3d7e0 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt index 3bcc34afa..d457d4f0d 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -1,20 +1,20 @@ Asset Size Chunks Chunk Names app.d.ts 11 bytes [emitted] - bundle.js 4.7 KiB main [emitted] main + bundle.js 4.67 KiB main [emitted] main tsconfig.tsbuildinfo 1.36 KiB [emitted] Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 515 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 517 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(4,12) +ERROR in lib/index.ts +./lib/index.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js index 27a318a22..b40828139 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt index 80e7af3c4..7675787ac 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -1,16 +1,16 @@ Asset Size Chunks Chunk Names -bundle.js 4.75 KiB main [emitted] main +bundle.js 4.71 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 525 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 527 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib\index.ts(4,12) +ERROR in [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js index 3b3aaf652..bdc99977b 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt index cc7a61db9..56edf71ed 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt @@ -1,18 +1,18 @@ Asset Size Chunks Chunk Names -bundle.js 4.69 KiB main [emitted] main +bundle.js 4.66 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 505 bytes {main} [built] [failed] [2 errors] +[./lib/index.ts] 507 bytes {main} [built] [failed] [2 errors] ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(4,12) +ERROR in lib/index.ts +./lib/index.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js index ab603c90c..ebf164835 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -105,7 +105,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar li /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: TypeScript emitted no output for C://code//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://code//ts-loader//dist//index.js:53:18)/n at successLoader (C://code//ts-loader//dist//index.js:40:5)/n at Object.loader (C://code//ts-loader//dist//index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); /***/ }) diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt index 97bb45e10..fb4278309 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -1,16 +1,16 @@ Asset Size Chunks Chunk Names -bundle.js 4.74 KiB main [emitted] main +bundle.js 4.71 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 167 bytes {main} [built] [1 error] -[./lib/index.ts] 515 bytes {main} [built] [failed] [1 error] +[./lib/index.ts] 517 bytes {main} [built] [failed] [1 error] -ERROR in [tsl] ERROR in lib\index.ts(4,12) +ERROR in [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:53:18) - at successLoader (dist\index.js:40:5) - at Object.loader (dist\index.js:23:5) +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt index 13cd750b8..fd9c15542 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt @@ -4,10 +4,10 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/out/index.js] 183 bytes {main} -ERROR in lib\index.ts -[tsl] ERROR in lib\index.ts(6,3) +ERROR in lib/index.ts +[tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib\index.ts -[tsl] ERROR in lib\index.ts(7,1) +ERROR in lib/index.ts +[tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt index 2d914655a..6797170be 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/out/index.js] 178 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt index 6047a25dc..99028a1de 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/out/index.js] 183 bytes {main} -ERROR in [tsl] ERROR in lib\index.ts(6,3) +ERROR in [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib\index.ts(7,1) +ERROR in [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt index 13cd750b8..fd9c15542 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt @@ -4,10 +4,10 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/out/index.js] 183 bytes {main} -ERROR in lib\index.ts -[tsl] ERROR in lib\index.ts(6,3) +ERROR in lib/index.ts +[tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib\index.ts -[tsl] ERROR in lib\index.ts(7,1) +ERROR in lib/index.ts +[tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt index 2d914655a..6797170be 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/out/index.js] 178 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt index 6047a25dc..99028a1de 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/out/index.js] 183 bytes {main} -ERROR in [tsl] ERROR in lib\index.ts(6,3) +ERROR in [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib\index.ts(7,1) +ERROR in [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt index ece889e0b..70a63dbeb 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names - ../../lib/dist/index.d.ts 54 bytes [emitted] - ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 4.98 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] @@ -9,6 +9,9 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app\src\index.ts -./src/index.ts +./src/index.ts 1:9-25 [tsl] ERROR in app\src\index.ts(1,10) - TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file + TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? +ts-loader-default_d959ab86f3fcf84f + +webpack compiled with 1 error diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index 5e73d0d59..916d2f0ec 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinks/common/dist/index.d.ts": { + "../common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinks/common/dist/index.d.ts" + "../common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", "./src/index.ts", - "../../projectReferencesSymLinks/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt index 5e0364fe2..c6b8c56bd 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.82 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index f381c7a6d..00f7f1ad3 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinks/common/dist/index.d.ts": { + "../common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinks/common/dist/index.d.ts" + "../common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", "./src/index.ts", - "../../projectReferencesSymLinks/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt index d745aba12..81512575e 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.82 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt index 390ae5001..c538b1de1 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt @@ -8,7 +8,7 @@ Entrypoint main = index.js [../lib/dist/index.js] 236 bytes {main} [built] [./src/index.ts] 108 bytes {main} [built] [1 error] -ERROR in app\src\index.ts -./src/index.ts -[tsl] ERROR in app\src\index.ts(1,10) +ERROR in app/src/index.ts +./src/index.ts 1:9-25 +[tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index a9964ebfb..06f810720 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts": { + "../node_modules/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -50,13 +50,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts" + "../node_modules/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "./src/index.ts", - "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts", + "../node_modules/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt index 2df8856c2..ec4613cad 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.91 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index e80433947..3d82dcc83 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts": { + "../node_modules/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -50,13 +50,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts" + "../node_modules/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "./src/index.ts", - "../../projectReferencesSymLinksPreserve/node_modules/common/dist/index.d.ts", + "../node_modules/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt index f691bb0a8..d0c3c585d 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.91 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt index 390ae5001..c538b1de1 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -8,7 +8,7 @@ Entrypoint main = index.js [../lib/dist/index.js] 236 bytes {main} [built] [./src/index.ts] 108 bytes {main} [built] [1 error] -ERROR in app\src\index.ts -./src/index.ts -[tsl] ERROR in app\src\index.ts(1,10) +ERROR in app/src/index.ts +./src/index.ts 1:9-25 +[tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index b56b4345e..06f810720 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts": { + "../node_modules/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -50,13 +50,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts" + "../node_modules/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "./src/index.ts", - "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts", + "../node_modules/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt index c734ddeee..ec4613cad 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.94 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index 031c41dde..3d82dcc83 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts": { + "../node_modules/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -50,13 +50,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts" + "../node_modules/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "./src/index.ts", - "../../projectReferencesSymLinksPreserve_WatchApi/node_modules/common/dist/index.d.ts", + "../node_modules/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt index dcf74c2fc..d0c3c585d 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.94 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt index ece889e0b..835660b4d 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names - ../../lib/dist/index.d.ts 54 bytes [emitted] - ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 4.98 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] @@ -9,6 +9,9 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app\src\index.ts -./src/index.ts +./src/index.ts 1:9-25 [tsl] ERROR in app\src\index.ts(1,10) - TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file + TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? +ts-loader-default_ad9bee6dd825c8a5 + +webpack compiled with 1 error diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index 06558c2b2..916d2f0ec 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts": { + "../common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts" + "../common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", "./src/index.ts", - "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt index 898c0f2b6..c6b8c56bd 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.85 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index b8f010981..00f7f1ad3 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts": { + "../common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts" + "../common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", "./src/index.ts", - "../../projectReferencesSymLinks_WatchApi/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt index de071393c..81512575e 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.85 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt index 2579cbf56..469ab45a1 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt @@ -4,12 +4,12 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/index.ts] 150 bytes {main} [built] [2 errors] -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(6,3) +ERROR in lib/index.ts +./lib/index.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(7,1) +ERROR in lib/index.ts +./lib/index.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt index e5095f9ca..47da79ac4 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt index 6b7869bd6..978b955fa 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib\index.ts(6,3) +ERROR in [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib\index.ts(7,1) +ERROR in [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt index a08db3389..ba040527a 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -5,12 +5,12 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/index.ts] 150 bytes {main} [built] [2 errors] -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(6,3) +ERROR in lib/index.ts +./lib/index.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(7,1) +ERROR in lib/index.ts +./lib/index.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt index 5367b0c7d..785c12da5 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt @@ -7,6 +7,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt index 6b7869bd6..978b955fa 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib\index.ts(6,3) +ERROR in [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib\index.ts(7,1) +ERROR in [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt index 2579cbf56..469ab45a1 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -4,12 +4,12 @@ Entrypoint main = bundle.js [./app.ts] 169 bytes {main} [built] [./lib/index.ts] 150 bytes {main} [built] [2 errors] -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(6,3) +ERROR in lib/index.ts +./lib/index.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in lib\index.ts -./lib/index.ts -[tsl] ERROR in lib\index.ts(7,1) +ERROR in lib/index.ts +./lib/index.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt index e5095f9ca..47da79ac4 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt index 6b7869bd6..978b955fa 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt @@ -4,8 +4,8 @@ Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib\index.ts(6,3) +ERROR in [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib\index.ts(7,1) +ERROR in [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt b/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt index 5211bb195..3214b5189 100644 --- a/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./skip.ts] 79 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:0-1 [tsl] ERROR in app.ts(3,1)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt index 822838de7..74cae6627 100644 --- a/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt @@ -3,7 +3,7 @@ bundle.js 1.02 KiB 0 [emitted] main Entrypoint main = bundle.js [0] ./app.ts 99 bytes {0} [built] -[1] ./file.json 20 bytes {0} [built] +[1] ./file.json 18 bytes {0} [built] WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt index 4cd55e00b..5b907a54c 100644 --- a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt @@ -2,7 +2,7 @@ bundle.js 1.05 KiB 0 [emitted] main Entrypoint main = bundle.js [0] ./app.ts 135 bytes {0} [built] -[1] ./file.json 20 bytes {0} [built] +[1] ./file.json 18 bytes {0} [built] WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt index 0f981418b..584de80f1 100644 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./dep.ts] 70 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:4-6 [tsl] ERROR in app.ts(3,5)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js index c4482db84..a7bc5cf47 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt index 36e0370f0..a753c24fe 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main +bundle.js 3.94 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 202 bytes {main} [built] [failed] [3 errors] +[./app.ts] 206 bytes {main} [built] [failed] [3 errors] ERROR in tsconfig.json [tsl] ERROR @@ -12,6 +12,6 @@ ERROR in tsconfig.json  TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'esnext'. ERROR in ./app.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: error while parsing tsconfig.json - at Object.loader (dist\index.js:18:18) \ No newline at end of file + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js index c4482db84..a7bc5cf47 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt index 36e0370f0..a753c24fe 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main +bundle.js 3.94 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 202 bytes {main} [built] [failed] [3 errors] +[./app.ts] 206 bytes {main} [built] [failed] [3 errors] ERROR in tsconfig.json [tsl] ERROR @@ -12,6 +12,6 @@ ERROR in tsconfig.json  TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'esnext'. ERROR in ./app.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: error while parsing tsconfig.json - at Object.loader (dist\index.js:18:18) \ No newline at end of file + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js index a2dd31a05..8b151021a 100644 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://code//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (C://code//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt index 4433328ff..dacba15c0 100644 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt @@ -1,9 +1,9 @@ Asset Size Chunks Chunk Names -bundle.js 4.06 KiB main [emitted] main +bundle.js 4.04 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 306 bytes {main} [built] [failed] [1 error] +[./app.ts] 309 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist\index.js:18:18) \ No newline at end of file + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js index 00acf95f2..afda5ae2f 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: Debug Failure. Expected C:/code/ts-loader/.test/tsconfigNotReadable/tsconfig.json === C://code//ts-loader//.test//tsconfigNotReadable//tsconfig.json. /n at attachFileToDiagnostic (C://code//ts-loader//node_modules//typescript//lib//typescript.js:18645:18)/n at Object.attachFileToDiagnostics (C://code//ts-loader//node_modules//typescript//lib//typescript.js:18677:42)/n at Object.parseJsonText (C://code//ts-loader//node_modules//typescript//lib//typescript.js:28704:46)/n at Object.parseJsonText (C://code//ts-loader//node_modules//typescript//lib//typescript.js:28450:23)/n at parseConfigFileTextToJson (C://code//ts-loader//node_modules//typescript//lib//typescript.js:37181:33)/n at Object.readConfigFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:37172:48)/n at Object.getConfigFile (C://code//ts-loader//dist//config.js:18:31)/n at successfulTypeScriptInstance (C://code//ts-loader//dist//instances.js:74:40)/n at Object.getTypeScriptInstance (C://code//ts-loader//dist//instances.js:42:12)/n at Object.loader (C://code//ts-loader//dist//index.js:16:41)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36m/tsconfigNotReadable/tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt index f36eb662e..cf5a33d81 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt @@ -1,18 +1,11 @@ Asset Size Chunks Chunk Names -bundle.js 5.03 KiB main [emitted] main +bundle.js 4.29 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 1.17 KiB {main} [built] [failed] [1 error] +[./app.ts] 542 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from /index.js): -Error: Debug Failure. Expected /.test/tsconfigNotReadable/tsconfig.json === tsconfig.json. - at attachFileToDiagnostic (node_modules\typescript\lib\typescript.js:18645:18) - at Object.attachFileToDiagnostics (node_modules\typescript\lib\typescript.js:18677:42) - at Object.parseJsonText (node_modules\typescript\lib\typescript.js:28704:46) - at Object.parseJsonText (node_modules\typescript\lib\typescript.js:28450:23) - at parseConfigFileTextToJson (node_modules\typescript\lib\typescript.js:37181:33) - at Object.readConfigFile (node_modules\typescript\lib\typescript.js:37172:48) - at Object.getConfigFile (dist\config.js:18:31) - at successfulTypeScriptInstance (dist\instances.js:74:40) - at Object.getTypeScriptInstance (dist\instances.js:42:12) - at Object.loader (dist\index.js:16:41) \ No newline at end of file +Module build failed (from index.js): +Error: error while reading tsconfig.json: +[tsl] ERROR in tsconfig.json(5,2) + TS1109: Expression expected. + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js index e867993bb..f4815d27a 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: Debug Failure. Expected C:/code/ts-loader/.test/tsconfigNotReadable.transpile/tsconfig.json === C://code//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json. /n at attachFileToDiagnostic (C://code//ts-loader//node_modules//typescript//lib//typescript.js:18645:18)/n at Object.attachFileToDiagnostics (C://code//ts-loader//node_modules//typescript//lib//typescript.js:18677:42)/n at Object.parseJsonText (C://code//ts-loader//node_modules//typescript//lib//typescript.js:28704:46)/n at Object.parseJsonText (C://code//ts-loader//node_modules//typescript//lib//typescript.js:28450:23)/n at parseConfigFileTextToJson (C://code//ts-loader//node_modules//typescript//lib//typescript.js:37181:33)/n at Object.readConfigFile (C://code//ts-loader//node_modules//typescript//lib//typescript.js:37172:48)/n at Object.getConfigFile (C://code//ts-loader//dist//config.js:18:31)/n at successfulTypeScriptInstance (C://code//ts-loader//dist//instances.js:74:40)/n at Object.getTypeScriptInstance (C://code//ts-loader//dist//instances.js:42:12)/n at Object.loader (C://code//ts-loader//dist//index.js:16:41)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36m/tsconfigNotReadable.transpile/tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt index 1b84c10fb..565d4a92d 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt @@ -1,18 +1,11 @@ - Asset Size Chunks Chunk Names -bundle.js 5.05 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 4.3 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 1.19 KiB {main} [built] [failed] [1 error] +[./app.ts] 552 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from /index.js): -Error: Debug Failure. Expected /.test/tsconfigNotReadable/tsconfig.json === tsconfig.json. - at attachFileToDiagnostic (node_modules\typescript\lib\typescript.js:18645:18) - at Object.attachFileToDiagnostics (node_modules\typescript\lib\typescript.js:18677:42) - at Object.parseJsonText (node_modules\typescript\lib\typescript.js:28704:46) - at Object.parseJsonText (node_modules\typescript\lib\typescript.js:28450:23) - at parseConfigFileTextToJson (node_modules\typescript\lib\typescript.js:37181:33) - at Object.readConfigFile (node_modules\typescript\lib\typescript.js:37172:48) - at Object.getConfigFile (dist\config.js:18:31) - at successfulTypeScriptInstance (dist\instances.js:74:40) - at Object.getTypeScriptInstance (dist\instances.js:42:12) - at Object.loader (dist\index.js:16:41) \ No newline at end of file +Module build failed (from index.js): +Error: error while reading tsconfig.json: +[tsl] ERROR in tsconfig.json(5,2) + TS1109: Expression expected. + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt index 3de8aa6e6..f2675eeee 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 212 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 11:4-5 [tsl] ERROR in app.ts(11,5)  TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'. \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js index 5a4006d19..911e3ac4c 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (C://code//ts-loader//dist//index.js:146:19)/n at getLoaderOptions (C://code//ts-loader//dist//index.js:103:5)/n at Object.loader (C://code//ts-loader//dist//index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:146:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:103:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt index 1aa5d08d4..615479d64 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt @@ -1,15 +1,15 @@ Asset Size Chunks Chunk Names -bundle.js 4.65 KiB main [emitted] main +bundle.js 4.63 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 907 bytes {main} [built] [failed] [1 error] +[./app.ts] 911 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: ts-loader was supplied with an unexpected loader option: notRealOption Please take a look at the options you are supplying; the following are valid options: silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames - at validateLoaderOptions (dist\index.js:146:19) - at getLoaderOptions (dist\index.js:103:5) - at Object.loader (dist\index.js:15:21) \ No newline at end of file + at validateLoaderOptions (dist/index.js:146:19) + at getLoaderOptions (dist/index.js:103:5) + at Object.loader (dist/index.js:15:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js index 5a4006d19..911e3ac4c 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js @@ -93,7 +93,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed (from C:/code/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (C://code//ts-loader//dist//index.js:146:19)/n at getLoaderOptions (C://code//ts-loader//dist//index.js:103:5)/n at Object.loader (C://code//ts-loader//dist//index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:146:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:103:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt index 1aa5d08d4..615479d64 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt @@ -1,15 +1,15 @@ Asset Size Chunks Chunk Names -bundle.js 4.65 KiB main [emitted] main +bundle.js 4.63 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 907 bytes {main} [built] [failed] [1 error] +[./app.ts] 911 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts -Module build failed (from /index.js): +Module build failed (from index.js): Error: ts-loader was supplied with an unexpected loader option: notRealOption Please take a look at the options you are supplying; the following are valid options: silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames - at validateLoaderOptions (dist\index.js:146:19) - at getLoaderOptions (dist\index.js:103:5) - at Object.loader (dist\index.js:15:21) \ No newline at end of file + at validateLoaderOptions (dist/index.js:146:19) + at getLoaderOptions (dist/index.js:103:5) + at Object.loader (dist/index.js:15:21) \ No newline at end of file From c8aa84279b6f5abff8ac0654dc9d59b66739769e Mon Sep 17 00:00:00 2001 From: Jason Kleban Date: Thu, 22 Apr 2021 14:14:04 -0400 Subject: [PATCH 4/6] only the two failing tests rerun. --- .../instance/expectedOutput-4.1/output.txt | 16 ++++++++-------- .../expectedOutput-transpile-4.1/output.txt | 14 +++++++------- .../expectedOutput-4.1/patch0/output.txt | 13 +++++-------- .../lib/tsconfig.tsbuildinfo | 6 +++--- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 +++--- .../patch0/output.txt | 2 +- 7 files changed, 28 insertions(+), 31 deletions(-) diff --git a/test/comparison-tests/instance/expectedOutput-4.1/output.txt b/test/comparison-tests/instance/expectedOutput-4.1/output.txt index 09690c0b5..1167dfee7 100644 --- a/test/comparison-tests/instance/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/instance/expectedOutput-4.1/output.txt @@ -1,19 +1,19 @@ - Asset Size Chunks Chunk Names -bundle.js 4 KiB a [emitted] a + Asset Size Chunks Chunk Names +bundle.js 4.01 KiB a [emitted] a Entrypoint a = bundle.js Entrypoint b = -[./a.ts] 276 bytes {a} [built] [failed] [1 error] -[./b.ts] 276 bytes {b} [built] [failed] [1 error] +[./a.ts] 273 bytes {a} [built] [failed] [1 error] +[./b.ts] 273 bytes {b} [built] [failed] [1 error] ERROR in ./a.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist/index.js:18:18) + at Object.loader (dist\index.js:18:18) ERROR in ./b.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist/index.js:18:18) + at Object.loader (dist\index.js:18:18) ERROR in chunk b [entry] bundle.js diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt index 1da55bdfe..41b0bbbb8 100644 --- a/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt @@ -1,19 +1,19 @@ Asset Size Chunks Chunk Names -bundle.js 4.01 KiB a [emitted] a +bundle.js 4.02 KiB a [emitted] a Entrypoint a = bundle.js Entrypoint b = -[./a.ts] 286 bytes {a} [built] [failed] [1 error] -[./b.ts] 286 bytes {b} [built] [failed] [1 error] +[./a.ts] 283 bytes {a} [built] [failed] [1 error] +[./b.ts] 283 bytes {b} [built] [failed] [1 error] ERROR in ./a.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist/index.js:18:18) + at Object.loader (dist\index.js:18:18) ERROR in ./b.ts -Module build failed (from index.js): +Module build failed (from /index.js): Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist/index.js:18:18) + at Object.loader (dist\index.js:18:18) ERROR in chunk b [entry] bundle.js diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt index 70a63dbeb..ece889e0b 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names - ../../lib/dist/index.d.ts 54 bytes [emitted] - ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 4.98 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] @@ -9,9 +9,6 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app\src\index.ts -./src/index.ts 1:9-25 +./src/index.ts [tsl] ERROR in app\src\index.ts(1,10) - TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_d959ab86f3fcf84f - -webpack compiled with 1 error + TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index 916d2f0ec..5e73d0d59 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../common/dist/index.d.ts": { + "../../projectReferencesSymLinks/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../common/dist/index.d.ts" + "../../projectReferencesSymLinks/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ - "../common/dist/index.d.ts", "./src/index.ts", + "../../projectReferencesSymLinks/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt index c6b8c56bd..5e0364fe2 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.82 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index 00f7f1ad3..f381c7a6d 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../common/dist/index.d.ts": { + "../../projectReferencesSymLinks/common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../common/dist/index.d.ts" + "../../projectReferencesSymLinks/common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ - "../common/dist/index.d.ts", "./src/index.ts", + "../../projectReferencesSymLinks/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt index 81512575e..d745aba12 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.82 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] From 65306b45acd1337ce04ebbae7d976df72641264e Mon Sep 17 00:00:00 2001 From: John Reilly Date: Thu, 22 Apr 2021 19:27:19 +0000 Subject: [PATCH 5/6] yarn run comparison-tests -- --save-output --single-test projectReferencesSymLinks --- .../expectedOutput-4.1/patch0/output.txt | 8 ++++---- .../expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo | 6 +++--- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../patch0/lib/tsconfig.tsbuildinfo | 6 +++--- .../expectedOutput-transpile-4.1/patch0/output.txt | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt index ece889e0b..ab18dd44d 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt @@ -8,7 +8,7 @@ Entrypoint main = index.js [../lib/dist/index.js] 236 bytes {main} [built] [./src/index.ts] 108 bytes {main} [built] [1 error] -ERROR in app\src\index.ts -./src/index.ts -[tsl] ERROR in app\src\index.ts(1,10) - TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file +ERROR in app/src/index.ts +./src/index.ts 1:9-25 +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo index 5e73d0d59..916d2f0ec 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinks/common/dist/index.d.ts": { + "../common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinks/common/dist/index.d.ts" + "../common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", "./src/index.ts", - "../../projectReferencesSymLinks/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt index 5e0364fe2..c6b8c56bd 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ ../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] ../../lib/dist/index.d.ts 53 bytes [emitted] ../../lib/dist/index.js 232 bytes [emitted] - ../../lib/tsconfig.tsbuildinfo 2.82 KiB [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo index f381c7a6d..00f7f1ad3 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -26,7 +26,7 @@ "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", "affectsGlobalScope": true }, - "../../projectReferencesSymLinks/common/dist/index.d.ts": { + "../common/dist/index.d.ts": { "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", "affectsGlobalScope": false @@ -49,13 +49,13 @@ }, "referencedMap": { "./src/index.ts": [ - "../../projectReferencesSymLinks/common/dist/index.d.ts" + "../common/dist/index.d.ts" ] }, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", "./src/index.ts", - "../../projectReferencesSymLinks/common/dist/index.d.ts", "../../../node_modules/typescript/lib/lib.d.ts", "../../../node_modules/typescript/lib/lib.dom.d.ts", "../../../node_modules/typescript/lib/lib.es5.d.ts", diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt index d745aba12..81512575e 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names ../../lib/dist/index.d.ts 54 bytes [emitted] ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.82 KiB [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 5.02 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] From 11f34e674e768fa747a84f27b5bbc4cdc77c7c74 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Thu, 22 Apr 2021 19:59:31 +0000 Subject: [PATCH 6/6] yarn run comparison-tests -- --single-test projectReferencesSymLinks_WatchApi --save-output --- .../expectedOutput-4.1/patch0/output.txt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt index 835660b4d..ab18dd44d 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -1,17 +1,14 @@ Asset Size Chunks Chunk Names - ../../lib/dist/index.d.ts 54 bytes [emitted] - ../../lib/dist/index.js 236 bytes [emitted] -../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] index.js 4.98 KiB main [emitted] main Entrypoint main = index.js [../common/dist/index.js] 176 bytes {main} [built] [../lib/dist/index.js] 236 bytes {main} [built] [./src/index.ts] 108 bytes {main} [built] [1 error] -ERROR in app\src\index.ts +ERROR in app/src/index.ts ./src/index.ts 1:9-25 -[tsl] ERROR in app\src\index.ts(1,10) - TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_ad9bee6dd825c8a5 - -webpack compiled with 1 error +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file