rewire-webpack
Dependency injection for webpack bundles
Last updated 5 years ago by peerigon .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rewire-webpack 
SYNC missed versions from official npm registry.

rewire-webpack

Use rewire in webpack bundles.

Dependency Status

This is a plugin that enables rewire for client-side bundles generated by webpack.

npm status


Installation

npm install rewire-webpack

and then add the RewirePlugin to the webpack config:

var RewirePlugin = require("rewire-webpack");
var webpackConfig = {
    plugins: [
        new RewirePlugin()
    ]
};

After that you can use rewire() in your client-side bundles as usual.


Contribution

Thanks to sokra who wrote most of the code. :)


License

Unlicense

Current Tags

  • 1.0.1                                ...           latest (5 years ago)

7 Versions

  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.0                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
  • 0.0.0                                ...           8 years ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 9
Last Day 0
Last Week 1
Last Month 14
Dependencies (2)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |