Skip to content

Commit

Permalink
Docs: change vite config path import in vite guide (twbs#39418)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored and romankupchak93 committed Jan 5, 2024
1 parent 95f669a commit 5e48dc6
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 5e48dc6

Please sign in to comment.