Skip to content

Commit

Permalink
Fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
cromefire committed Nov 19, 2024
1 parent 5ce6bb0 commit bd7a209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/exports/vite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const warning_preprocessor = {
* @param {{ root: string }} config
* @returns {Promise<import('vite').Plugin[]>}
*/
export async function sveltekit(config) {
export async function sveltekit(config = {}) {
const options = {
cwd: config.root ? config.root : process.cwd(),
};
Expand Down

0 comments on commit bd7a209

Please sign in to comment.