Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"source-map-support": "^0.5.13",
"tsx": "^4.21.0",
"username": "^5.1.0",
"vite": "^7.2.4",
"vite": "^8.0.0",
"webpack": "^5.69.1",
"webpack-dev-server": "^4.0.0",
"webpack-merge": "^5.7.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@electron/packager": "^19.0.1",
"@malept/cross-spawn-promise": "^2.0.0",
"@types/node": "^22.10.7",
"vite": "^7.2.4",
"vite": "^8.0.0",
"vitest": "^4.0.14",
"which": "^2.0.2",
"xvfb-maybe": "^0.2.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/vite/spec/subprocess-worker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ describe('subprocess-worker', () => {
const outFile = path.join(viteOutDir, 'build', 'main-with-define.js');
const contents = fs.readFileSync(outFile, 'utf8');
// MAIN_WINDOW_VITE_NAME should be statically replaced with "main_window"
expect(contents).toContain('"main_window"');
expect(contents).toMatch(/["'`]main_window["'`]/);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this map to some breaking change in Vite 7 -> 8?

expect(contents).not.toContain('MAIN_WINDOW_VITE_NAME');
});

Expand Down
2 changes: 1 addition & 1 deletion packages/template/vite-typescript/tmpl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"eslint-plugin-import": "^2.25.0",
"eslint-import-resolver-typescript": "^4.4.4",
"typescript": "^5.9.2",
"vite": "^7.2.4"
"vite": "^8.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/template/vite/tmpl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"devDependencies": {
"@electron/fuses": "^2.0.0",
"@electron-forge/plugin-vite": "ELECTRON_FORGE/VERSION",
"vite": "^7.2.4"
"vite": "^8.0.0"
}
}
Loading
Loading