From b6fe81acbf8ba0032ece1a98f0b34f02a198cfbf Mon Sep 17 00:00:00 2001 From: tdro Date: Fri, 6 May 2022 10:02:34 -0400 Subject: static: Remove asset duplication Move bundles up the fold. --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d428258..c2e8546 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ all: make config make js - make css make hugo config: @@ -12,13 +11,7 @@ watch: while true; do find . | entr -d -s 'make all'; done js: - deno bundle --no-check --config tsconfig.json static/js/index.ts static/js/index.js - mkdir -p assets/js - cp static/js/index.js assets/js - -css: - mkdir -p assets/css - cp static/css/* assets/css + deno bundle --no-check --config tsconfig.json static/js/index.ts assets/js/index.js hugo: rm -rf public -- cgit v1.2.3