history.js icon indicating copy to clipboard operation
history.js copied to clipboard

Missing trailing semicolon in bundled compressed

Open giohappy opened this issue 9 years ago • 2 comments

The compressed bundle misses ending semicolon, at least for jQuery's, which can cause problems when incorporated in applications bundles.

giohappy avatar Aug 24 '16 13:08 giohappy

I just ran into the same issue. Tried to bundle using gulp.

Console is showing the following error:

Uncaught TypeError: (intermediate value)(...) is not a function
    at main.min.5229.js:4

I narrowed it down to the one missing semicolon @giohappy is talking about.

rnarian avatar Jun 22 '17 11:06 rnarian

Okay, I just noticed this only happens wenn bundling the uncompressed files. Bundling the compressed files works fine.

rnarian avatar Jun 22 '17 11:06 rnarian