-
Notifications
You must be signed in to change notification settings - Fork 690
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This switches to using rollup for the build. This fixes #444 among other things.
- Loading branch information
Showing
5 changed files
with
956 additions
and
1,004 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
BROWSERIFY=node_modules/.bin/browserify | ||
ROLLUP=node_modules/.bin/rollup | ||
INFOLOG := \033[34m ▸\033[0m | ||
|
||
page.js: index.js | ||
@echo "$(INFOLOG) Building page.js.." | ||
@$(BROWSERIFY) index.js --standalone page -o page.js | ||
@$(ROLLUP) -c rollup.config.js | ||
|
||
watch: | ||
find index.js | entr make page.js | ||
.PHONY: watch | ||
|
||
clean: | ||
@rm page.js | ||
.PHONY: clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.