-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stip of the last <include> block header when writing deps to the same file #29
Comments
Sounds like a strange issue. Let me know when you can reproduce this. If anyone else has this issue, let me know. If so, I'll have a look at it. |
I can confirm this now. |
Actually this is pretty easy to reproduce, just chage index.html in the test directory, make sure the last statemente is as follows:
And it will create the following output:
Noticed it didn't keep the order as dep1 should be first. I'm investigating this issue as this is very important for me to get fixed, otherwise my AngularJS apps break. |
Sorry my last comment was not related to this issue, I'm experiencing the ordering issue as well, will create a new issue for it. |
Well, the point of the |
Indeed, ordering needs to be handled outside the plugin scope. |
In certain cases, not studied exactly, but happens quite often, plugin strips last include block.
Guess, this happens when file contains more than one include blocks and plugin does a lot of changes.
Source file contains
Sometimes the very last block is getting rewritten as follows
I'll take a closer look in which case this happens, but it surely happens quite often, once in 3-4 days at least.
The text was updated successfully, but these errors were encountered: