diff options
| author | Julien Déramond <[email protected]> | 2023-11-21 13:30:34 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-21 14:30:34 +0200 |
| commit | 00d4639400cc395572f8ad88009bce9cf4076b63 (patch) | |
| tree | 8d97f578c794a4be453caf81446aa0a934ec8be5 | |
| parent | 1a7ae00f5289c50dae67685a60c44fa1ebbd25ca (diff) | |
| download | bootstrap-00d4639400cc395572f8ad88009bce9cf4076b63.tar.xz bootstrap-00d4639400cc395572f8ad88009bce9cf4076b63.zip | |
Docs: change vite config path import in vite guide (#39418)
| -rw-r--r-- | site/content/docs/5.3/getting-started/vite.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.3/getting-started/vite.md b/site/content/docs/5.3/getting-started/vite.md index 9c2be9f11..98bbe7b87 100644 --- a/site/content/docs/5.3/getting-started/vite.md +++ b/site/content/docs/5.3/getting-started/vite.md @@ -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' }, |
