Skip to content

Commit

Permalink
Update Makefile for #368
Browse files Browse the repository at this point in the history
I should really stop using make but it's muscle memory now
  • Loading branch information
zpao committed Aug 29, 2024
1 parent 5837f8f commit 6fedf3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ EXAMPLE_DEPS = examples/*.tsx

.PHONY: all clean

all: lib/index.js lib/index.d.ts lib/index.js examples/iife/demo.js
all: lib/index.js lib/index.d.ts lib/index.d.mts lib/index.js examples/iife/demo.js

lib:
mkdir -p lib

lib/index.d.ts: lib $(SRC_DEPS) $(CFG_DEPS)
pnpm run build:code

lib/index.d.mts: lib $(SRC_DEPS) $(CFG_DEPS)
pnpm run build:code

lib/esm/index.js: lib $(SRC_DEPS) $(CFG_DEPS)
pnpm run build:code

Expand Down

0 comments on commit 6fedf3d

Please sign in to comment.