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.
2 parents dc512ba + 9fc664f commit bfe7649Copy full SHA for bfe7649
index.js
@@ -19,6 +19,8 @@ module.exports = function(source, map) {
19
// creator.create(..., source) tells the module to operate on the
20
// source variable. Check API for more details.
21
creator.create(this.resourcePath, source).then(content => {
22
+ // Emit the created content as well
23
+ this.emitFile(content.outputFilePath, content.contents || [''], map);
24
content.writeFile().then(_ => {
25
callback(null, source, map);
26
});
0 commit comments