1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00
build:dev:watch requires a development.json file, not development.js

Causes the error "[webpack-cli] Error: Cannot find module './config/development.json'" otherwise.
This commit is contained in:
Colin Frei 2021-07-18 12:01:08 +02:00 committed by GitHub
parent ba6d61a510
commit 87d37dd29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ npm install
ENV=production npm run build:watch
```
You can also manually adjusting your API endpoint settings by adding `config/development.js` overriding any of the values in `config/base.json`. For example:
You can also manually adjusting your API endpoint settings by adding `config/development.json` overriding any of the values in `config/base.json`. For example:
```typescript
{
@ -57,7 +57,7 @@ You can also manually adjusting your API endpoint settings by adding `config/dev
}
```
To pick up the overrides in the newly created `config/development.js` file, run the app with:
To pick up the overrides in the newly created `config/development.json` file, run the app with:
```
npm run build:dev:watch