1
0
Fork 0

feat(build): add node shebang to index

This commit is contained in:
ssube 2019-11-09 22:41:40 -06:00
parent 26f1fb758d
commit b4172bbe23
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ build: 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