Skip to content

Commit 6c48d19

Browse files
committed
Support npm mirrors
1 parent 01b6337 commit 6c48d19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

slidev/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
22

3+
if [ "$NPM_MIRROR" != "" ]; then
4+
npm config set registry $NPM_MIRROR
5+
fi
6+
37
npm install @slidev/cli @slidev/theme-default @slidev/theme-seriph
48
npm install --save-dev playwright-chromium
59

0 commit comments

Comments
 (0)