Skip to content

Commit

Permalink
fix: silence dev/prod warning during sync (#13244)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Dec 27, 2024
1 parent c0ca073 commit 528af75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/clever-phones-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

fix: silence dev/prod warning during sync
3 changes: 2 additions & 1 deletion packages/kit/src/utils/routing.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BROWSER } from 'esm-env';
// @ts-ignore - need to publish types for sub-package imports
import BROWSER from 'esm-env/browser';

const param_pattern = /^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;

Expand Down

0 comments on commit 528af75

Please sign in to comment.