Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/configuration/vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ All NativeScript apps can be bundled using [Vite](https://vite.dev/). To manage
Install the plugin.

```bash
npm install @nativescript/vite
npm install -d @nativescript/vite
```

## Quick start (`init`)
Expand Down Expand Up @@ -154,7 +154,7 @@ Additional env flags that are usually passed by the CLI automatically

We define a few useful globally available variables that you can use to alter logic in your applications.

- `__DEV__` - `true` when webpack is building in development mode
- `__DEV__` - `true` when vite is building in development mode
```ts
if (__DEV__) {
// we are running a dev build
Expand Down
Loading