Skip to content

Commit 57995a2

Browse files
authored
cleanup
1 parent 1e5f4a6 commit 57995a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/configuration/vite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ All NativeScript apps can be bundled using [Vite](https://vite.dev/). To manage
1212
Install the plugin.
1313

1414
```bash
15-
npm install @nativescript/vite
15+
npm install -d @nativescript/vite
1616
```
1717

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

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

157-
- `__DEV__` - `true` when webpack is building in development mode
157+
- `__DEV__` - `true` when vite is building in development mode
158158
```ts
159159
if (__DEV__) {
160160
// we are running a dev build

0 commit comments

Comments
 (0)