Skip to content

Instantly share code, notes, and snippets.

@sebastiandeutsch
Created September 30, 2016 10:43
Show Gist options
  • Save sebastiandeutsch/c508f265854e1a9e750f153e79b4a2f3 to your computer and use it in GitHub Desktop.
Save sebastiandeutsch/c508f265854e1a9e750f153e79b4a2f3 to your computer and use it in GitHub Desktop.
Webpack 1 Resolver Plugin Mechanism
function MyResolverPlugin() {
}
MyResolverPlugin.prototype.apply = function (resolver) {
resolver.plugin("directory", function (request, callback) {
...
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment