We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dee48c commit c6fddf8Copy full SHA for c6fddf8
1 file changed
index.js
@@ -25,7 +25,7 @@ extendscriptr.options.forEach(function(opt) {
25
);
26
});
27
28
-var prototypePolyfills = fs.readFileSync('./node_modules/extendscript.prototypes/lib/extendscript.prototypes.js', 'utf8');
+var prototypePolyfills = fs.readFileSync(require.resolve('extendscript.prototypes'), 'utf8');
29
var browserifyPlugins = [ [ prependify, prototypePolyfills ] ];
30
31
var adobeTarget = String(extendscriptr.target).toLowerCase();
0 commit comments