-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added vite #175
added vite #175
Conversation
added path aliases for vite |
|
find: 'actions', | ||
replacement: path.resolve(__dirname, './src/actions'), | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so it needs to be told how to resolve import paths? or what is that for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It matches for the word in the import statement and replaces it with the given path.
so, vite interprets: import "action/file.jsx"
as import "./src/actions/file.jsx"
Its optional.
π οΈ Fixes Issue #171
π¨βπ» Changes proposed
π Note to reviewers
π· Screenshots