-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: Pass through vite configLoader option to createViteServer #7574
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
Changes from 6 commits
7fe1756
26dd30e
489633b
3c523c9
585f970
af374a4
68ff1c5
ff4a563
f2bdac7
6766be9
46046e0
69a432e
45c4fcb
5834a53
ec15204
59630b5
7eee6bf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -160,6 +160,7 @@ export function resolveConfig( | |
| } | ||
|
|
||
| resolved.clearScreen = resolved.clearScreen ?? viteConfig.clearScreen ?? true | ||
| resolved.configLoader = resolved.configLoader ?? viteConfig.inlineConfig.configLoader ?? 'bundle' | ||
|
||
|
|
||
| if (options.shard) { | ||
| if (resolved.watch) { | ||
|
|
||
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.
documentation should also mention this is only available from newer Vite version.