Skip to content

Instantly share code, notes, and snippets.

@sebastiandeutsch
Created September 30, 2016 10:43

Revisions

  1. sebastiandeutsch created this gist Sep 30, 2016.
    8 changes: 8 additions & 0 deletions index.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    function MyResolverPlugin() {
    }

    MyResolverPlugin.prototype.apply = function (resolver) {
    resolver.plugin("directory", function (request, callback) {
    ...
    });
    };