Fix the tsify-import

This commit is contained in:
Manuel Thalmann 2021-05-11 19:41:05 +00:00
parent b3107eb09a
commit 46ce17d365

View file

@ -12,6 +12,7 @@ import terser = require("gulp-terser");
import merge = require("merge-stream");
import minimist = require("minimist");
import { parseArgsStringToArgv } from "string-argv";
import tsify = require("tsify");
import Path = require("upath");
import buffer = require("vinyl-buffer");
import vinylSourceStream = require("vinyl-source-stream");
@ -277,8 +278,7 @@ export function Library(): NodeJS.ReadWriteStream
}
bundler.plugin(
// eslint-disable-next-line @typescript-eslint/no-var-requires
require("tsify"),
tsify,
{
project: tsConfigFile
});