From 231a3d4fb796c3cd1dbe9c54a4f5bf3c02cc9346 Mon Sep 17 00:00:00 2001 From: sis0k0 Date: Tue, 18 Apr 2017 10:46:51 +0300 Subject: [PATCH] build: skip adding references.d.ts to package fixes https://github.com/NativeScript/nativescript-dev-webpack/issues/101 --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index b018d7a..8ac7017 100755 --- a/compile.sh +++ b/compile.sh @@ -9,7 +9,7 @@ IOS=ios; copy_package_files() { cp "$SOURCE_DIR"/package.json "$PACK_DIR" cp "$SOURCE_DIR"/*.md "$PACK_DIR" - cp "$SOURCE_DIR"/*.d.ts "$PACK_DIR" + rsync -av "$SOURCE_DIR"/*.d.ts --exclude="references.d.ts" "$PACK_DIR" } #clean dist folder from previous compilation