You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2019. It is now read-only.
e-cloud edited this page Mar 19, 2016
·
1 revision
Use plugins to add functionality typically related to bundles in webpack. For example, the BellOnBundlerErrorPlugin will notify you of an error in the bundler build process.
Plugins are included in your module by using the plugins property in the webpack config.
插件是通过使用webpack配置中plugins属性来引入到你的模块。
// webpack should be in the node_modules directory, install if not.varwebpack=require("webpack");module.exports={plugins: [newwebpack.ResolverPlugin([newwebpack.ResolverPlugin.DirectoryDescriptionFilePlugin("bower.json",["main"])],["normal","loader"])]};
Other plugins
其他插件
Plugins that are not built-in may be installed via npm if published there, or by other means if not: