Skip to content

Commit 76bba7a

Browse files
committed
make build faster
1 parent f9b1c7b commit 76bba7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
rm -rf dist
33
mkdir -p dist
44
echo "build src/ldview.ls -> dist/index.js ..."
5-
npx lsc -cp --no-header src/ldview.ls > dist/index.js
5+
./node_modules/.bin/lsc -cp --no-header src/ldview.ls > dist/index.js
66
echo "minifying index.js ..."
7-
npx uglifyjs dist/index.js > dist/index.min.js
7+
./node_modules/.bin/uglifyjs dist/index.js > dist/index.min.js
88
echo "copy ldview.pug to dist/ ..."
99
cp src/ldview.pug dist/index.pug
1010
echo "copy files to web ..."

0 commit comments

Comments
 (0)