Skip to content

Commit 4c472e6

Browse files
committed
make plants their own files
1 parent 6645f18 commit 4c472e6

File tree

109 files changed

+9486
-8860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+9486
-8860
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ jobs:
8080
run: |
8181
npm install -g esbuild html-minifier-terser
8282
83+
- name: Bundle CPlants.js
84+
run: |
85+
esbuild game/js/CPlants.js \
86+
--bundle \
87+
--minify \
88+
--sourcemap \
89+
--sources-content=true \
90+
--outfile=game/js/CPlants.js \
91+
--allow-overwrite
92+
8393
- name: Minify JavaScript & CSS files
8494
run: |
8595
esbuild $(find . -type f \( -name "*.js" -o -name "*.css" \) -not -path "./node_modules/*") \

0 commit comments

Comments
 (0)