1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-29 06:33:40 +00:00

Update build commands (#1180)

This commit is contained in:
Oscar Hinton
2021-09-14 13:26:26 +02:00
committed by GitHub
parent c82d1b3c50
commit 30d2aeb6a3
5 changed files with 24 additions and 30 deletions

View File

@@ -32,7 +32,7 @@ For local development, run the app with:
```
npm install
npm run build:watch
npm run build:oss:watch
```
You can now access the web vault in your browser at `https://localhost:8080`.
@@ -41,7 +41,7 @@ If you want to point the development web vault to the production APIs, you can r
```
npm install
ENV=production npm run build:watch
ENV=production npm run build:oss:watch
```
You can also manually adjusting your API endpoint settings by adding `config/local.json` overriding any of the following values:
@@ -60,11 +60,7 @@ You can also manually adjusting your API endpoint settings by adding `config/loc
}
```
Where the `urls` object is defined by the [Urls type in jslib](https://github.com/bitwarden/jslib/blob/master/common/src/abstractions/environment.service.ts). To pick up the overrides in the newly created `config/local.json` file, run the app with:
```
npm run build:dev:watch
```
Where the `urls` object is defined by the [Urls type in jslib](https://github.com/bitwarden/jslib/blob/master/common/src/abstractions/environment.service.ts).
## Contribute