diff --git a/index.js b/index.js index e936e3c..f9b25d4 100644 --- a/index.js +++ b/index.js @@ -20,6 +20,8 @@ module.exports = function(source, map) { // creator.create(..., source) tells the module to operate on the // source variable. Check API for more details. creator.create(this.resourcePath, source).then(content => { + // Emit the created content as well + this.emitFile(content.outputFilePath, content.contents || [''], map); content.writeFile().then(_ => { callback(null, source, map); });