This repository was archived by the owner on Aug 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
webpack plugins
Tobias Koppers edited this page May 14, 2013
·
37 revisions
Replace resources that matches resourceRegExp with newResource.
Replaces the default regExp generated by parsing with newContextRegExp if the resource (directory) matches resourceRegExp.
Adds a banner to the top of each generated chunk.
banner a string, it will be wrapped in a comment
options.raw if true, banner will not be wrapped in a comment
options.entryOnly if true, the banner will only be added to the entry chunks.
Use component with webpack.
Use rewire in webpack.
Create bundles with translations baked in. Then you can serve the translated bundle to your clients.
For a list of plugins used by webpack internally see internal webpack plugins