Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jul 4, 2024
1 parent cb26cf8 commit e2be5fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vike/client/shared/removeFoucBuster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ export { removeFoucBuster }

import { assert } from './utils.js'

// See also:
// - Alternative approach of exactly injecting what Vite injects:
// - https://github.com/remix-run/remix/issues/8830#issuecomment-1968368351
// - https://github.com/rakkasjs/rakkasjs/blob/7d75ccc915e93bca04e6bab37dc6abdb68a85e4a/packages/rakkasjs/src/features/pages/middleware.tsx#L701
// - https://github.com/remix-run/remix/issues/8830

function removeFoucBuster() {
assert(import.meta.env.DEV)

Expand Down

0 comments on commit e2be5fc

Please sign in to comment.