Skip to content

Commit

Permalink
docs: mention breaking change from vitejs#8049
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jun 14, 2022
1 parent 649c7f6 commit 4147999
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/migration.md
Expand Up @@ -52,6 +52,10 @@ If using ESM for SSR isn't possible in your project, you can set `ssr.format: 'c
## General Changes

- JS file extensions in SSR and lib mode now use a valid extension (`js`, `mjs`, or `cjs`) for output JS entries and chunks based on their format and the package type.
- Terser is now an optional dependency. If you are using `build.minify: 'terser'`, you need to install it.
```shell
npm add -D terser
```

### `import.meta.glob`

Expand Down

0 comments on commit 4147999

Please sign in to comment.