Skip to content

Commit

Permalink
- fix for .d.ts.map extension #97
Browse files Browse the repository at this point in the history
  • Loading branch information
ezolenko committed Jul 17, 2018
1 parent 433c8fa commit a345bbc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -20191,7 +20191,7 @@ function typescript(options) {
};
lodash_2(declarations, ({ type, map }, key) => {
writeDeclaration(key, ".d.ts", type);
writeDeclaration(key, ".map.d.ts", map);
writeDeclaration(key, ".d.ts.map", map);
});
}
},
Expand Down
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -20187,7 +20187,7 @@ function typescript(options) {
};
lodash_2(declarations, ({ type, map }, key) => {
writeDeclaration(key, ".d.ts", type);
writeDeclaration(key, ".map.d.ts", map);
writeDeclaration(key, ".d.ts.map", map);
});
}
},
Expand Down
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.es.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export default function typescript(options?: Partial<IOptions>)
_.each(declarations, ({ type, map }, key) =>
{
writeDeclaration(key, ".d.ts", type);
writeDeclaration(key, ".map.d.ts", map);
writeDeclaration(key, ".d.ts.map", map);
});
}
},
Expand Down

0 comments on commit a345bbc

Please sign in to comment.