$ npm install is-webpack-bundle
Check if your code has been bundled with webpack
const isWebpackBundle = require('is-webpack-bundle'); console.log(isWebpackBundle); // true | false
© 2010 - cnpmjs.org x YWFE | Home | YWFE