To clarify and make sure I understand:
- You have 2 separate files. We will call them File1 and File2
- If you minimize File1 yourself, it works great
- If you minimize File2 yourself, it works great
- If you combine the files File1 and File2 together, then minify, you will get this error.
Is it correct?
If so, you probably have a missing semicolon and the errors caused by ASI (automatic insert insertion) are executing.
(note that this assumption is based on the limited information you provided. You will need to post a lot more information about files, code, etc., to really give a better answer)
Derick bailey
source share