From cee08222339e5ab0213a5cbc9b21173863028ae0 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Thu, 9 Apr 2020 23:16:23 +0200 Subject: [PATCH] Fixed some small compile errors --- package.json | 1 + webpack/EJSGenerator.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a36bc3c1..cf00a266 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "dtsgen": "node tools/dtsgen/index.js", "trgen": "node tools/trgen/index.js", "sass": "sass", + "csso": "csso", "tsc": "tsc", "start": "npm run compile-project-base && node file.js ndevelop", "build-web": "webpack --config webpack-web.config.js", diff --git a/webpack/EJSGenerator.ts b/webpack/EJSGenerator.ts index 7695b8c0..4d20b907 100644 --- a/webpack/EJSGenerator.ts +++ b/webpack/EJSGenerator.ts @@ -4,7 +4,7 @@ import * as fs from "fs"; import * as util from "util"; import * as minifier from "html-minifier"; import * as path from "path"; -import {Compilation} from "webpack"; +import Compilation = webpack.compilation.Compilation; interface Options { input: string,