From d381226f21f1d0605d06ccae56c38ab6b12f88f0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 27 May 2017 18:43:11 +0200 Subject: Simplify loading of the emscripten lib. This removes an ugly hack and makes it possible to access the emscripten compiled library from within nodejs test cases more easily. --- gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index ec8321dc0..568300614 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -53,7 +53,7 @@ const po2json = require("po2json"); const paths = { ts: { src: [ - "src/**/*.{ts,tsx}", + "src/**/*.{ts,tsx,js}", "!src/**/*-test*.ts", ], decl: [ @@ -112,6 +112,8 @@ const tsBaseArgs = { strict: true, outDir: "build/src/", noImplicitAny: true, + allowJs: true, + checkJs: true, }; -- cgit v1.2.3