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
Note: I started with a simpler gulp-replace, but the results have been the same all the way through.
If I comment gulp-bro from my pipeline, I can see that the list of files are generated correctly, and transformed / replaced into the source as excpected.
But, when I run this with gulp-bro enabled, my transformation is completely ignored, it seems like gulp-bro work directly on files on disk, and not on the vinyl-stream in the pipeline.
Note 2: I have tried doing this transformation in browserify itself, but I am also running the esmify plugin, and it looks like browserify processes plugins before transformations, so thats not a solution either.
The text was updated successfully, but these errors were encountered:
My scenario is the following.
I have a token, @@imports@@, in my JS source, and I am trying to generate a list of import statements based on js files in a folder.
Gulp pipeline,
componentImportString
is a variable containing the import statements.Note: I started with a simpler gulp-replace, but the results have been the same all the way through.
If I comment gulp-bro from my pipeline, I can see that the list of files are generated correctly, and transformed / replaced into the source as excpected.
But, when I run this with gulp-bro enabled, my transformation is completely ignored, it seems like gulp-bro work directly on files on disk, and not on the vinyl-stream in the pipeline.
Note 2: I have tried doing this transformation in browserify itself, but I am also running the esmify plugin, and it looks like browserify processes plugins before transformations, so thats not a solution either.
The text was updated successfully, but these errors were encountered: