Skip to content

Commit 5e48dc6

Browse files
julien-deramondromankupchak93
authored andcommitted
Docs: change vite config path import in vite guide (twbs#39418)
1 parent 95f669a commit 5e48dc6

File tree

1 file changed

+2
-2
lines changed
  • site/content/docs/5.3/getting-started

1 file changed

+2
-2
lines changed

site/content/docs/5.3/getting-started/vite.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ With dependencies installed and our project folder ready for us to start coding,
7878

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

8383
export default {
84-
root: path.resolve(__dirname, 'src'),
84+
root: resolve(__dirname, 'src'),
8585
build: {
8686
outDir: '../dist'
8787
},

0 commit comments

Comments
 (0)