@glennreyes/is-webpack
Simple check if code is running through webpack
Installation & Usage
npm install @glennreyes/is-webpack
const isWebpack = require('@glennreyes/webpack')
if (isWebpack) {
// ...
}
Simple check if code is running through webpack
npm install @glennreyes/is-webpack
const isWebpack = require('@glennreyes/webpack')
if (isWebpack) {
// ...
}
npm i @glennreyes/is-webpack
1
1.0.0
MIT
576 B
3