8000 Replace 'append' with 'prepend' in Vite example. (#8777) · Sn0wCrack/laravel-docs@bbd235c · GitHub
[go: up one dir, main page]

Skip to content

Commit bbd235c

Browse files
authored
Replace 'append' with 'prepend' in Vite example. (laravel#8777)
1 parent 0a76114 commit bbd235c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ For example, the `vite-imagetools` plugin outputs URLs like the following while
808808

809809
The `vite-imagetools` plugin is expecting that the output URL will be intercepted by Vite and the plugin may then handle all URLs that start with `/@imagetools`. If you are using plugins that are expecting this behaviour, you will need to manually correct the URLs. You can do this in your `vite.config.js` file by using the `transformOnServe` option.
810810

811-
In this particular example, we will append the dev server URL to all occurrences of `/@imagetools` within the generated code:
811+
In this particular example, we will prepend the dev server URL to all occurrences of `/@imagetools` within the generated code:
812812

813813
```js
814814
import { defineConfig } from 'vite';

0 commit comments

Comments
 (0)
0