We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 949c6ed commit 9fc664fCopy full SHA for 9fc664f
index.js
@@ -21,7 +21,7 @@ module.exports = function(source, map) {
21
// source variable. Check API for more details.
22
creator.create(this.resourcePath, source).then(content => {
23
// Emit the created content as well
24
- this.emitFile(this.resourcePath + '.d.ts', content.contents || ['']);
+ this.emitFile(content.outputFilePath, content.contents || [''], map);
25
content.writeFile().then(_ => {
26
callback(null, source, map);
27
});
0 commit comments