Skip to content

Commit d17301b

Browse files
authored
Drop the vinyl-import (#120)
This commit fixes #119
1 parent 4e1a4b9 commit d17301b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const Transform = require('stream').Transform;
44
const rs = require('replacestream');
55
const istextorbinary = require('istextorbinary');
6-
const Vinyl = require('vinyl')
6+
77
const defaultOptions = {
88
skipBinary: true
99
}
@@ -19,7 +19,7 @@ module.exports = function(search, _replacement, options = {}) {
1919
objectMode: true,
2020
/**
2121
* transformation
22-
* @param {Vinyl} file
22+
* @param {import("vinyl")} file
2323
* @param {BufferEncoding} enc
2424
* @param {(error?: Error | null, data?: any) => void} callback
2525
*/

0 commit comments

Comments
 (0)