Skip to content

Commit 3817590

Browse files
bartlomiejuclaude
andcommitted
chore: fix formatting and lint errors
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 32b4494 commit 3817590

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

packages/plugin-vite/src/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export function fresh(config?: FreshViteConfig): Plugin[] {
242242
},
243243
};
244244
},
245-
async configResolved(vConfig) {
245+
configResolved(vConfig) {
246246
// Run update check in background
247247
updateCheck(UPDATE_INTERVAL).catch(() => {});
248248

packages/plugin-vite/src/plugins/deno.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ export function deno(): Plugin {
9090
for (const alias of list) {
9191
const find = alias.find;
9292
if (typeof find === "string" ? find === id : find?.test?.(id)) {
93-
id = typeof alias.replacement === "string"
94-
? alias.replacement
95-
: id;
93+
id = typeof alias.replacement === "string" ? alias.replacement : id;
9694
break;
9795
}
9896
}
@@ -204,8 +202,7 @@ export function deno(): Plugin {
204202
code.includes("exports.") ||
205203
code.includes("require("))
206204
) {
207-
const isServer =
208-
this.environment.config.consumer === "server";
205+
const isServer = this.environment.config.consumer === "server";
209206

210207
if (isServer) {
211208
// SSR: use Node.js createRequire for full CJS compat
@@ -284,7 +281,6 @@ export default module.exports;
284281
code,
285282
};
286283
}
287-
288284
},
289285
transform: {
290286
filter: {

0 commit comments

Comments
 (0)