- Notifications
You must be signed in to change notification settings - Fork18
Dependency injection for webpack bundles
License
NotificationsYou must be signed in to change notification settings
jhnns/rewire-webpack
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Userewire in webpack bundles.
This is a plugin that enablesrewire for client-side bundles generated bywebpack.
npm install rewire-webpack
and then add the RewirePlugin to the webpack config:
varRewirePlugin=require("rewire-webpack");varwebpackConfig={plugins:[newRewirePlugin()]};
After that you can userewire() in your client-side bundles as usual.
Thanks tosokra who wrote most of the code. :)
About
Dependency injection for webpack bundles
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.