How to append/merge files to each other with Gulp #2593
Unanswered
simonbethke
asked this question in
Help
Replies: 1 comment 2 replies
-
@simonbethke Are you looking for this? https://github.com/gulp-community/gulp-concat |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to find multiple files with globs and compile one output-file from them. Basically it is:
Unfortunately, the DestOption "append" seems to be only documented, but not implemented. The gulp-append plugin seems to have a problem if the intermediate vinyls from the inner plugin have not been materialized.
For some context: I am in the process to refactor a grown and old gulpfile.js. In this step, I am also migrating the gulpfile to typescript using also gulpclass. For this task, I am searching for ini-files at different locations for different languages. In the middle of the pipeline, I use the through2 plugin adaptor to parse the ini, modify the keys and create a json-structure from it. In the end I need to write a js-file containing all json-structures combined and wrapped into an "export default ...". As this is part of a refactoring, I don't want to change the general behavior at this stage.
(I have copied this question over here from https://stackoverflow.com/questions/68062945/how-to-append-merge-files-to-each-other-with-gulp and I hope thats okay)
Beta Was this translation helpful? Give feedback.
All reactions