Skip to content

Commit a345bbc

Browse files
committed
- fix for .d.ts.map extension #97
1 parent 433c8fa commit a345bbc

5 files changed

+5
-5
lines changed

dist/rollup-plugin-typescript2.cjs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20191,7 +20191,7 @@ function typescript(options) {
2019120191
};
2019220192
lodash_2(declarations, ({ type, map }, key) => {
2019320193
writeDeclaration(key, ".d.ts", type);
20194-
writeDeclaration(key, ".map.d.ts", map);
20194+
writeDeclaration(key, ".d.ts.map", map);
2019520195
});
2019620196
}
2019720197
},

dist/rollup-plugin-typescript2.cjs.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rollup-plugin-typescript2.es.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20187,7 +20187,7 @@ function typescript(options) {
2018720187
};
2018820188
lodash_2(declarations, ({ type, map }, key) => {
2018920189
writeDeclaration(key, ".d.ts", type);
20190-
writeDeclaration(key, ".map.d.ts", map);
20190+
writeDeclaration(key, ".d.ts.map", map);
2019120191
});
2019220192
}
2019320193
},

dist/rollup-plugin-typescript2.es.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ export default function typescript(options?: Partial<IOptions>)
339339
_.each(declarations, ({ type, map }, key) =>
340340
{
341341
writeDeclaration(key, ".d.ts", type);
342-
writeDeclaration(key, ".map.d.ts", map);
342+
writeDeclaration(key, ".d.ts.map", map);
343343
});
344344
}
345345
},

0 commit comments

Comments
 (0)