diff --git a/plugins/accessibility/index.js b/plugins/accessibility/index.js index bb0ddadc8..00ef4ca6d 100644 --- a/plugins/accessibility/index.js +++ b/plugins/accessibility/index.js @@ -42,7 +42,7 @@ var q = require('q'), * */ -var AUDIT_FILE = path.join(__dirname, '../../node_modules/accessibility-developer-tools/dist/js/axs_testing.js'); +var AUDIT_FILE = require.resolve('accessibility-developer-tools/dist/js/axs_testing.js'); var TENON_URL = 'http://www.tenon.io/api/'; /**