^14.17.0and Yarn at
yarnto install the dependencies.
dist/directory. Use the
--prodflag for a production build.
Running lint locally is slow and fill up heap memory. This is related to Typescript compilation and NX lint builder being slow. As a result you might get a
NODE_OPTIONS=“--max-old-space-size=4096” yarn lint <project>to raise the memory limit.
~/.aws/credentialsfile. We're currently not able to get AWS credentials from an AWS profile configured using AWS SSO. You will need to visit your AWS account and export the credentials manually or add them to your
~/.aws/credentialsfile. You can find more instructions here.
<!-- environment placeholder -->.
getStaticEnvfunction from the
@island.is/shared/utilslibrary to fetch your environment variables.
SI_PUBLIC_, for example
SI_PUBLIC_*in the code and tries to find a match in the environment. It then puts all the matches inside the index.html which is then served to the client.