Skip to content

Commit 8103820

Browse files
committed
fix: deno fmt
1 parent 498f5a9 commit 8103820

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/plugin-vite/src/plugins

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,7 @@ export function deno(): Plugin {
239239
// (e.g. @opentelemetry/api) ship both CJS and ESM as .js
240240
// without "type": "module" in package.json.
241241
if (!ESM_STMT_RE.test(code)) {
242-
const isServer =
243-
this.environment.config.consumer === "server";
242+
const isServer = this.environment.config.consumer === "server";
244243

245244
if (isServer) {
246245
// SSR: use Node.js createRequire for full CJS compat

0 commit comments

Comments
 (0)