Created
September 30, 2016 10:43
-
-
Save sebastiandeutsch/c508f265854e1a9e750f153e79b4a2f3 to your computer and use it in GitHub Desktop.
Webpack 1 Resolver Plugin Mechanism
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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