We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 498f5a9 commit 8103820Copy full SHA for 8103820
1 file changed
packages/plugin-vite/src/plugins/deno.ts
@@ -239,8 +239,7 @@ export function deno(): Plugin {
239
// (e.g. @opentelemetry/api) ship both CJS and ESM as .js
240
// without "type": "module" in package.json.
241
if (!ESM_STMT_RE.test(code)) {
242
- const isServer =
243
- this.environment.config.consumer === "server";
+ const isServer = this.environment.config.consumer === "server";
244
245
if (isServer) {
246
// SSR: use Node.js createRequire for full CJS compat
0 commit comments