Skip to content

Commit

Permalink
Use process.env to ensure bundler nails it
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Nov 28, 2023
1 parent f50f50b commit 4f31c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/entry.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ startTransition(() => {

import * as Spotlight from "@spotlightjs/overlay";

if (config.ENV !== "production") {
if (process.env.NODE_ENV !== "production") {
Spotlight.init({
integrations: [Spotlight.sentry()],
});
Expand Down

0 comments on commit 4f31c7f

Please sign in to comment.