Skip to content

Commit 51232d7

Browse files
committed
chore: use npx instead of npm bin concat
1 parent 1839361 commit 51232d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ rm -rf ./lib
33
rm -rf ./dist
44

55
# 2. tsc compile
6-
`npm bin`/tsc
6+
npx tsc
77

88
# 3. copy source file
9-
`npm bin`/copyup 'src/**/*.html' lib/
10-
`npm bin`/copyup 'src/**/*.less' lib/
9+
npx copyup 'src/**/*.html' lib/
10+
npx copyup 'src/**/*.less' lib/
1111

1212
# 4. webpack build
1313
npm run build:web

0 commit comments

Comments
 (0)