Skip to content

fix: vitecongfig path issue#334

Open
raffay0shahzad wants to merge 1 commit into
10play:mainfrom
raffay0shahzad:development/v1
Open

fix: vitecongfig path issue#334
raffay0shahzad wants to merge 1 commit into
10play:mainfrom
raffay0shahzad:development/v1

Conversation

@raffay0shahzad

Copy link
Copy Markdown

No description provided.

@17Amir17 17Amir17 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! just 1 small ask

Comment on lines +4 to +7
import path from 'path';

// Vite runs from examplelatest directory, so resolve relative to that
const parentDir = path.resolve(process.cwd(), '..');

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should just add a comment highlighting that in a personall project we should follow the vite.config.ts from the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants