You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently concat task relies on gulp-concat and event-stream by making multiple pipes and then merging them.
Adding salt to the pain, the gulp.src relies on array of string containing relative / absolute file paths, not resolved file paths. Not to mention that concatResolution getter property on CompilerSettings is using synchronous resolve logic.
By rewriting, performance can be improved and at the same time removing 2 dependencies from the project.
Currently
concat
task relies ongulp-concat
andevent-stream
by making multiple pipes and then merging them.Adding salt to the pain, the
gulp.src
relies on array of string containing relative / absolute file paths, not resolved file paths.Not to mention thatconcatResolution
getter property onCompilerSettings
is using synchronous resolve logic.By rewriting, performance can be improved and at the same time removing 2 dependencies from the project.
how-to:
EDIT: rewritten concatenation list resolution using async-await Promise.
The text was updated successfully, but these errors were encountered: