UNPKG

telefunc

Version:

Remote functions. Instead of API.

6 lines (5 loc) 185 B
export function isWebpack() { const test1 = typeof __non_webpack_require__ === 'function'; const test2 = typeof __webpack_require__ === 'function'; return test1 || test2; }