local-ip-webpack-plugin
v0.1.1
Published
Inject local ip address into webpack
Downloads
6
Readme
LocalIP Webpack Plugin
webpack plugin for injecting local ip.
Getting started
Install the plugin:
npm install --save-dev local-ip-webpack-plugin
Usage
new LocalIpPlugin()
Use process.env.LOCAL_IP
in JavaScript code.
Contribute
Feel free to contribute (PR-s and issues welcomed).