From fa573d25a0782f70717bf2a395f05789839d50e2 Mon Sep 17 00:00:00 2001 From: ssube Date: Thu, 27 Aug 2020 11:23:34 -0500 Subject: [PATCH] fix(build): prepend index with hashbang --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5b7cf3e..c24fd01 100755 --- a/Makefile +++ b/Makefile @@ -96,6 +96,7 @@ build: build-page build-bundle build-docs build-bundle: node_modules $(NODE_BIN)/rollup --config $(CONFIG_PATH)/rollup.js + sed -i '1s;^;#! /usr/bin/env node\n\n;' $(TARGET_PATH)/index.js build-docs: ## generate html docs $(NODE_BIN)/api-extractor run --config $(CONFIG_PATH)/api-extractor.json --local -v