Skip to content

Commit

Permalink
fix(build): prepend index with hashbang
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Aug 27, 2020
1 parent f5764b6 commit fa573d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa573d2

Please sign in to comment.