Skip to content

Commit c6fddf8

Browse files
author
Bruno Herfst
committed
Fixes #22 (Removed hardcoded path)
1 parent 6dee48c commit c6fddf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extendscriptr.options.forEach(function(opt) {
2525
);
2626
});
2727

28-
var prototypePolyfills = fs.readFileSync('./node_modules/extendscript.prototypes/lib/extendscript.prototypes.js', 'utf8');
28+
var prototypePolyfills = fs.readFileSync(require.resolve('extendscript.prototypes'), 'utf8');
2929
var browserifyPlugins = [ [ prependify, prototypePolyfills ] ];
3030

3131
var adobeTarget = String(extendscriptr.target).toLowerCase();

0 commit comments

Comments
 (0)