We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aff073 commit d5ae4baCopy full SHA for d5ae4ba
1 file changed
index.js
@@ -26,6 +26,7 @@ extendscriptr.options.forEach(function(opt) {
26
);
27
});
28
29
+var browserifyPlugins = [];
30
var adobeTarget = String(extendscriptr.target).toLowerCase();
31
if ( adobeTarget &&
32
( adobeTarget.indexOf('indesign') >= 0 ||
@@ -40,7 +41,7 @@ if( extendscriptr.typescript ) {
40
41
return;
42
} else {
43
var prototypePolyfills = fs.readFileSync(require.resolve('extendscript.prototypes'), 'utf8');
- var browserifyPlugins = [ [ prependify, prototypePolyfills ] ];
44
+ browserifyPlugins.push ([ prependify, prototypePolyfills ]);
45
46
var b = browserify({
47
entries: [ extendscriptr.script ],
0 commit comments