From f080b11cfd514cdf596db3a6dda85d1cd5350c08 Mon Sep 17 00:00:00 2001 From: Meir017 Date: Wed, 21 Mar 2018 10:34:12 +0200 Subject: [PATCH] use import instead of require in ts file --- copyStaticAssets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyStaticAssets.ts b/copyStaticAssets.ts index 9734839..9a2736e 100644 --- a/copyStaticAssets.ts +++ b/copyStaticAssets.ts @@ -1,4 +1,4 @@ -const shell = require("shelljs"); +import * as shell from "shelljs"; shell.cp("-R", "src/public/js/lib", "dist/public/js/"); shell.cp("-R", "src/public/fonts", "dist/public/");