Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: change vite config path import in vite guide #39418

Merged
merged 1 commit into from
Nov 21, 2023
Merged
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
Docs: change vite config path import in vite guide
julien-deramond committed Nov 18, 2023
commit b1d1fbbde4b6b248f7d5631790e977d5faeadf0d
4 changes: 2 additions & 2 deletions site/content/docs/5.3/getting-started/vite.md
Original file line number Diff line number Diff line change
@@ -78,10 +78,10 @@ With dependencies installed and our project folder ready for us to start coding,

<!-- eslint-skip -->
```js
const path = require('path')
import { resolve } from 'path'

export default {
root: path.resolve(__dirname, 'src'),
root: resolve(__dirname, 'src'),
build: {
outDir: '../dist'
},