https://github.com/ragingwind/is-webpack
Check your script is running while webpack build
https://github.com/ragingwind/is-webpack
Last synced: 8 months ago
JSON representation
Check your script is running while webpack build
- Host: GitHub
- URL: https://github.com/ragingwind/is-webpack
- Owner: ragingwind
- License: mit
- Created: 2017-02-13T08:47:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-13T08:50:18.000Z (over 9 years ago)
- Last Synced: 2025-02-13T06:07:58.174Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# is-webpack [](https://travis-ci.org/ragingwind/is-webpack)
> Check your script is running on webpack-dev-server
## Install
```
$ npm install --save is-webpack
```
## Usage
You will get true value from this module while building is going on with `webpack`
```js
const isWebpack = require('is-webpack');
console.log(isWebpack);
//=> true
```
## License
MIT © [Jimmy Moon](http://ragingwind.me)