jonkemp / gulp-useref

Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
MIT License
705 stars 93 forks source link

Something wrong with immediate execute function if I won't add ';' before it. #221

Closed dupeiduo closed 7 years ago

dupeiduo commented 7 years ago

When I'm using useref and uglify. If one page just has an immediate execution function, it will remove the ',' which at the end of previous page. Then I'll be told it isn't a immediate execute function.

jonkemp commented 7 years ago

This looks like a bug report. In order to be as helpful as possible, here are some guidelines for bug reports:

  1. Use the GitHub issue search — check if the issue has already been reported.

  2. Check if the issue has been fixed — try to reproduce it using the latest master or development branch in the repository.

  3. Isolate the problem — create a reduced test case and a live example.

A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What browser(s) and OS experience the problem? What would you expect to be the outcome? All these details will help people to fix any potential bugs. Thanks!

dupeiduo commented 7 years ago

OK. Thanks I will do it now.