File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/lib/models/reflections Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 22
33### Bug Fixes
44
5+ - Fixed automatic declaration file resolution on Windows, #2416 .
56- Fixed default option values on options declared by plugins in packages mode, #2433 .
67- ` gitRevision ` will now be replaced in ` sourceLinkTemplate ` , #2434 .
78- Improved handling of function-modules created with ` Object.assign ` , #2436 .
Original file line number Diff line number Diff line change @@ -149,9 +149,11 @@ export function addInferredDeclarationMapPaths(
149149 const declDir = opts . declarationDir || opts . outDir || rootDir ;
150150
151151 for ( const file of files ) {
152- const mapFile = resolve ( declDir , relative ( rootDir , file ) ) . replace (
153- / \. ( [ c m ] ? [ t j ] s ) x ? $ / ,
154- ".d.$1" ,
152+ const mapFile = normalizePath (
153+ resolve ( declDir , relative ( rootDir , file ) ) . replace (
154+ / \. ( [ c m ] ? [ t j ] s ) x ? $ / ,
155+ ".d.$1" ,
156+ ) ,
155157 ) ;
156158 declarationMapCache . set ( mapFile , file ) ;
157159 }
You can’t perform that action at this time.
0 commit comments