Skip to content

Instantly share code, notes, and snippets.

@MaxPleaner
Created April 6, 2017 19:38
Show Gist options
  • Save MaxPleaner/7cf43c13f990b3ccb82a8cc8672e5a46 to your computer and use it in GitHub Desktop.
Save MaxPleaner/7cf43c13f990b3ccb82a8cc8672e5a46 to your computer and use it in GitHub Desktop.
WIP webpack plugin
function MergeGifPlugin(options) {
}
MergeGifPlugin.prototype.apply = function(compiler) {
compiler.plugin("emit", function(compilation, callback){
// console.log(compilation)
// console.log(compilation.missingDependencies)
console.dir(Object.keys(compilation.errors[0]))
console.log(compilation.errors[0].name)
console.log(compilation.errors[0].message)
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment