fix(build): prepend index with hashbang
This commit is contained in:
parent
f5764b60e6
commit
fa573d25a0
1
Makefile
1
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
|
||||
|
|
Loading…
Reference in New Issue