@timber-js/app 0.2.0-alpha.64 → 0.2.0-alpha.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -14610,7 +14610,10 @@ function timberDevBrowserLogs(ctx) {
14610
14610
  apply: "serve",
14611
14611
  configureServer(server) {
14612
14612
  const threshold = ctx.config.devBrowserLogs ?? "warn";
14613
- if (threshold === "none") return;
14613
+ if (threshold === "none") {
14614
+ delete globalThis.__timber_dev_browser_log_script;
14615
+ return;
14616
+ }
14614
14617
  const script = generateClientScript(threshold);
14615
14618
  if (script) globalThis.__timber_dev_browser_log_script = `<script type="module">${script}<\/script>`;
14616
14619
  server.hot.on(HMR_EVENT, (payload) => {