Skip to content

Commit 3da4101

Browse files
committed
Do not include js files in TS compilation
problem: in compilation tsc removes blank lines from the file this causes problem in debugging and mapping with IDEs microsoft/TypeScript#843 Signed-off-by: Pranam Lashkari <[email protected]> Change-Id: Ie2df89ba09597a34aca9221bf082b1f2df3c7d07
1 parent 04b5e19 commit 3da4101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loleaflet/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ $(DIST_FOLDER)/welcome/%.html: $(srcdir)/welcome/%.html
563563
fi
564564

565565
tscompile.done: $(LOLEAFLET_JS_SRC) $(LOLEAFLET_TS_SRC)
566-
$(builddir)/node_modules/typescript/bin/tsc --typeRoots $(builddir)/node_modules/@types --outDir $(DIST_FOLDER)/src --rootDir $(srcdir)/src --allowJs true --checkJs false --project $(srcdir)/tsconfig.json
566+
$(builddir)/node_modules/typescript/bin/tsc --typeRoots $(builddir)/node_modules/@types --outDir $(DIST_FOLDER)/src --rootDir $(srcdir)/src --checkJs false --project $(srcdir)/tsconfig.json
567567
@touch $@
568568

569569
$(LOLEAFLET_TS_JS_DST): tscompile.done

0 commit comments

Comments
 (0)