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
Looking at the node_modules, registerTransformStream does not exist, it has queueTransformStream
E.g.
/**
* Add a transform stream to the commit stream.
*
* Most usually, these transform stream will be Gulp plugins.
*
* @param {stream.Transform|stream.Transform[]} streams An array of Transform stream
* or a single one.
* @return {this} This generator
*/
queueTransformStream(transformStreams) {
assert(
transformStreams,
'expected to receive a transform stream as parameter'
);
this.queueTask({
method() {
return this.env.applyTransforms(transformStreams);
},
taskName: 'transformStream',
queueName: 'transform'
});
return this;
}
}
The text was updated successfully, but these errors were encountered:
e-dong
changed the title
Docs on registerTransformStream needs to be renamed to queueTransformSream
Docs on registerTransformStream needs to be renamed to queueTransformStream
Mar 11, 2022
I'm using
yeoman-generator@5.6.1
When trying to use
this.registerTransformStream
, I gotthis.registerTransformStream is not a function
https://yeoman.io/authoring/file-system.html#transform-output-files-through-streams
Looking at the node_modules, registerTransformStream does not exist, it has
queueTransformStream
E.g.
The text was updated successfully, but these errors were encountered: