perf: reduce install size using yarn --production (#1066)
This commit is contained in:
parent
380dbbf341
commit
2fc6897ee3
|
@ -1,5 +1,11 @@
|
|||
# Contributing to Pinafore
|
||||
|
||||
## Installing
|
||||
|
||||
To install with dev dependencies, run:
|
||||
|
||||
yarn
|
||||
|
||||
## Dev server
|
||||
|
||||
To run a dev server with hot reloading:
|
||||
|
|
|
@ -12,7 +12,7 @@ RUN apk add --update --no-cache --virtual build-dependencies git python build-ba
|
|||
# Install yarn
|
||||
&& npm i yarn -g \
|
||||
# Install Pinafore
|
||||
&& yarn --pure-lockfile \
|
||||
&& yarn --production --pure-lockfile \
|
||||
&& yarn build \
|
||||
&& rm -rf ./src \
|
||||
# Cleanup
|
||||
|
|
Loading…
Reference in a new issue