miensol / grunt-concat-in-order

Gruntjs plugin for concatenating files with dependency tree topological sort preserved.
MIT License
21 stars 9 forks source link

(feat) Add ordered dependency output as an option #6

Closed jinzito closed 6 years ago

jinzito commented 8 years ago

This option helps to sourcemap generation with another grunt task

miensol commented 8 years ago

Hi, Thanks for the work.

What do you think about passing the ordered dependencies to the plugin consumer through a regular callback instead of a file on disk? I guess it would make the plugin less dependent on the actual use case but still provide the required functionality.

miensol commented 6 years ago

Closing due to inactivity. Please re-open if you still need this.

dennisguse commented 6 years ago

Actually, I could use this feature. In fact, I would prefer the concatenation order as a plain text file: in line with relative path.

@miensol If you would be willing to merge and release it, I would just modify the pull request according to my needs. Would this work for you?