Skip to content

Commit 74ab036

Browse files
committed
build(types): update makefile build step to include the types definition file
1 parent 9b52aa2 commit 74ab036

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ build:
1515
# - A CommonJS build in lib/
1616
# - An ES6 modules build in es/
1717
# - UMD development and production builds in umd/
18-
nwb build-web-module
18+
# ALso, copy index.d.ts to ./lib folder.
19+
nwb build-web-module && cp -R src/types ./lib
1920

2021
authors:
2122
# Generate a file of all contributors based on git log

0 commit comments

Comments
 (0)