browserify / factor-bundle

factor browser-pack bundles into common shared bundles
Other
402 stars 27 forks source link

Unexpected end of input (during test run / bundle splitting) #54

Open nikku opened 9 years ago

nikku commented 9 years ago

The test suite fails with with Unexpected end of input.

ok 28 should be equivalent
# file outputs

/factor-bundle/node_modules/tape/index.js:75 
        throw err
              ^
SyntaxError: Unexpected end of input 
    at WriteStream.<anonymous> (/factor-bundle/test/outputs.js:35:12)

This error can be reproduced by trying to actually use the plug-in to factor out bundles using the latest factor-bundle against browserify 8.0 and 5.11.x.

alejo90 commented 9 years ago

I'm having the same issue on a real world project, even with factor-bundle as far back as 2.2.4.