From 46ce17d36530aad76bd2a71a8420baee3964ef4b Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 11 May 2021 19:41:05 +0000 Subject: [PATCH] Fix the `tsify`-import --- gulpfile.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index e941cce..079c1b1 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -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 });