Built-in plugins
Plugins are included in your module by using the plugins property in the webpack config.
// webpack should be in the node_modules directory, install if not.
var webpack = require("webpack");
module.exports = {
plugins: [
new webpack.ResolverPlugin([
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin("bower.json", ["main"])
], ["normal", "loader"])
]
};
Other plugins
Plugins that are not built-in may be installed via npm if published t