Skip to content

Commit 18b6f77

Browse files
RyanEwenSimenB
authored andcommitted
Pass htmlPluginData to callback. (#5)
1 parent f1abc21 commit 18b6f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addAssetHtmlPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class AddAssetHtmlPlugin {
3737
return htmlPluginData.plugin.addFileToAssets(`${this.filename}.map`, compilation)
3838
}
3939
})
40-
.then(() => callback())
40+
.then(() => callback(null, htmlPluginData))
4141
})
4242
})
4343
}

0 commit comments

Comments
 (0)