Skip to content

Commit

Permalink
Docs: change vite config path import in vite guide (#39418)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Nov 21, 2023
1 parent 1a7ae00 commit 00d4639
Showing 1 changed file with 2 additions and 2 deletions.
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
Expand Up @@ -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'
},
Expand Down

0 comments on commit 00d4639

Please sign in to comment.