Skip to content

Commit 12e79cc

Browse files
authored
Merge pull request #27 from xnuk/patch-1
Fix returning css.d.ts as empty file
2 parents c842d55 + dfa1925 commit 12e79cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = function(source, map) {
2929
// Emit the created content as well
3030
this.emitFile(
3131
path.relative(context, content.outputFilePath),
32-
content.contents || [''],
32+
content.formatted || '',
3333
map
3434
);
3535
}

0 commit comments

Comments
 (0)