Skip to content

Commit fd5d9fc

Browse files
Disable config file resolution in experimental vite-node compiler (#1238)
Co-authored-by: Mark Dalgleish <[email protected]>
1 parent 2cad138 commit fd5d9fc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/tasty-ligers-camp.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vanilla-extract/integration': patch
3+
---
4+
5+
Disable config file resolution in experimental `vite-node` compiler

packages/integration/src/compiler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const createViteServer = async ({
5959
normalizeModuleId = vite.normalizePath;
6060

6161
const server = await vite.createServer({
62+
configFile: false,
6263
root,
6364
server: {
6465
hmr: false,

0 commit comments

Comments
 (0)