index.js 390 B

123456
  1. const runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require // eslint-disable-line
  2. if (typeof runtimeRequire.addon === 'function') { // if the platform supports native resolving prefer that
  3. module.exports = runtimeRequire.addon.bind(runtimeRequire)
  4. } else { // else use the runtime version here
  5. module.exports = require('./node-gyp-build.js')
  6. }