/*
These will be used as custom formatters.
 */

import path from 'path';

export var stats = path.resolve(__dirname + '/../../node_modules/eslint-stats/byErrorAndWarning.js');
export var summary = path.resolve(__dirname + '/../../node_modules/eslint-summary/summary.js');
export var detailed = path.resolve(__dirname + '/../../node_modules/eslint-friendly-formatter/index.js');

@@ -46,99 +46,44 @@
 */%0A%0A
-import path from 'path';%0A%0Aexport var stats = path.resolve(__dirname + '/../../node_modules/
+export var stats = require.resolve('
 esli
@@ -140,54 +140,25 @@
 y = 
-path.resolve(__dirname + '/../../node_modules/
+require.resolve('
 esli
@@ -208,54 +208,25 @@
 d = 
-path.resolve(__dirname + '/../../node_modules/
+require.resolve('
 esli
@@ -250,17 +250,8 @@
 tter
-/index.js
 ');%0A

Use require.resolve to support cases when when formatters installed on the same level as eslint-nibbler (e.g. npm dedupe or npm@3 or just direct formatter usage in the linted module).