1
0
Fork 0

fix(build): prepend index with hashbang

This commit is contained in:
ssube 2020-08-27 11:23:34 -05:00
parent f5764b60e6
commit fa573d25a0
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 0 deletions

View File

@ -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