Use require.resolve to determine weinre path