next.js/test/e2e/instrumentation-hook/with-esm-import/instrumentation.js
instrumentation.js8 lines210 B
import * as mod from 'my-lib'

export function register() {
  console.log('register in instrumentation.js is running')
  // make sure that this is not tree-shaken
  if (process.env.DOESNT_EXIST_1234) mod.c()
}
Quest for Codev2.0.0
/
SIGN IN